Skip to content

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
kian99 committed Jul 28, 2023
1 parent fc414b0 commit 7fc9156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestDefaultService(t *testing.T) {
c.Check(resp.StatusCode, qt.Equals, http.StatusOK)
}

func TestServiceFailsToStartWithoutSecretStore(t *testing.T) {
func TestServiceStartsWithoutSecretStore(t *testing.T) {
c := qt.New(t)

_, ofgaClient, cfg, err := jimmtest.SetupTestOFGAClient(c.Name())
Expand All @@ -76,7 +76,7 @@ func TestServiceFailsToStartWithoutSecretStore(t *testing.T) {
AuthModel: ofgaClient.AuthModelId,
},
})
c.Assert(err, qt.ErrorMatches, "no credential store setup")
c.Assert(err, qt.IsNil)
}

func TestAuthenticator(t *testing.T) {
Expand Down

0 comments on commit 7fc9156

Please sign in to comment.