Skip to content

Commit

Permalink
Fix blur test
Browse files Browse the repository at this point in the history
  • Loading branch information
baskarap committed Aug 27, 2019
1 parent e03d3f6 commit a299b26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/service/manipulator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,7 @@ func TestManipulator_Process(t *testing.T) {
mp.On("Blur", decoded, 60.0).Return(decoded, nil)
params = make(map[string]string)
params[blur] = "60"
_, _ = m.Process(ProcessSpec{
ImageData: input,
Params: params,
})
_, _ = m.Process(NewSpecBuilder().WithImageData(input).WithParams(params).Build())

mp.On("Flip", decoded, "v").Return(decoded, nil)
params = make(map[string]string)
Expand Down

0 comments on commit a299b26

Please sign in to comment.