Skip to content

Commit

Permalink
fixed: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
primalmotion committed Jul 8, 2019
1 parent 967d91c commit 11d68b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dispatchers_test.go
Expand Up @@ -495,7 +495,7 @@ func TestDispatchers_dispatchCreateOperation(t *testing.T) {
ctx := newContext(context.TODO(), request)
err := dispatchCreateOperation(ctx, processorFinder, testmodel.Manager(), nil, nil, nil, nil, auditer, false, nil)

expectedError := "error 400 (bahamut): Bad Request: unable to decode application/json: json decode error [pos 1]: cannot decode into nil"
expectedError := "error 400 (bahamut): Bad Request: unable to decode application/json: json decode error [pos 0]: cannot decode into nil"
expectedNbCalls := 1

Convey("Then I should get a bahamut error and no context", func() {
Expand Down

0 comments on commit 11d68b7

Please sign in to comment.