Skip to content

Commit

Permalink
Upgrade tests to newer ImageMagick stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Mar 5, 2024
1 parent 6637c34 commit ae7a498
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assembly_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestStartAssembly_Success(t *testing.T) {
"height": 75,
"resize_strategy": "pad",
"background": "#000000",
"imagemagick_stack": "v2.0.7",
"imagemagick_stack": "v3.0.0",
})

assembly.NotifyURL = "https://example.com/"
Expand Down Expand Up @@ -116,7 +116,7 @@ func TestStartAssembly_Failure(t *testing.T) {
"height": 75,
"resize_strategy": "pad",
"background": "#000000",
"imagemagick_stack": "v2.0.7",
"imagemagick_stack": "v3.0.0",
})

_, err = client.StartAssembly(ctx, assembly)
Expand Down
2 changes: 1 addition & 1 deletion template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestTemplate(t *testing.T) {
"height": 75,
"resize_strategy": "pad",
"background": "#000000",
"imagemagick_stack": "v2.0.7",
"imagemagick_stack": "v3.0.0",
})
template.AddStep("optimize", map[string]interface{}{
"robot": "/image/optimize",
Expand Down
2 changes: 1 addition & 1 deletion transloadit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func setupTemplates(t *testing.T) {
"robot": "/image/resize",
"width": 75,
"use": "optimize",
"imagemagick_stack": "v2.0.7",
"imagemagick_stack": "v3.0.0",
})

id, err := client.CreateTemplate(ctx, template)
Expand Down

0 comments on commit ae7a498

Please sign in to comment.