From 7fc91564de11de33268e0d8e1396bc0c6f712d3c Mon Sep 17 00:00:00 2001 From: Kian Parvin Date: Fri, 28 Jul 2023 16:51:10 +0200 Subject: [PATCH] Updated test --- service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_test.go b/service_test.go index 735386237..3e36adbca 100644 --- a/service_test.go +++ b/service_test.go @@ -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()) @@ -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) {