Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Update test for error mapping change
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Watters committed Jun 6, 2020
1 parent 62a3b33 commit 774fdb5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions opsani/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,8 @@ func (s *ClientTestSuite) TestStartAppAlreadyStartedError() {
client := opsani.NewClient()
client.SetBaseURL(ts.URL)
resp, err := client.StartApp()
s.Require().Nil(err)
s.Require().Error(err)
result := resp.Result()
s.Require().Empty(result)
respErr := resp.Error()
s.Require().NotNil(respErr)
s.Require().Equal(&responseObj, respErr)
s.Require().Equal(&responseObj, err)
}

0 comments on commit 774fdb5

Please sign in to comment.