Skip to content

Commit

Permalink
Fix test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Jul 30, 2023
1 parent bda2794 commit 835adee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/application_test.go
Expand Up @@ -302,7 +302,7 @@ func (s *ApplicationSuite) Test_UploadAppImage_OtherErrors_expectServerError() {
s.a.UploadApplicationImage(s.ctx)

assert.Equal(s.T(), 500, s.recorder.Code)
assert.Equal(s.T(), s.ctx.Errors[0].Err, errors.New("multipart: NextPart: EOF"))
assert.Error(s.T(), s.ctx.Errors[0].Err, "multipart: NextPart: EOF")
}

func (s *ApplicationSuite) Test_UploadAppImage_WithImageFile_expectSuccess() {
Expand Down

0 comments on commit 835adee

Please sign in to comment.