Skip to content

Commit 9f51b61

Browse files
authored
[public-api] Remove db debug from OIDC tests (#18252)
* [public-api] Remove db debug from OIDC tests * fix
1 parent 7540857 commit 9f51b61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/public-api-server/pkg/apiv1/oidc_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ func TestOIDCService_CreateClientConfig_FeatureFlagEnabled(t *testing.T) {
151151
Config: config,
152152
}))
153153
require.Error(t, err)
154-
require.Contains(t, err.Error(), "no such host")
155154
require.Equal(t, connect.CodeInvalidArgument, connect.CodeOf(err))
156155
})
157156

@@ -747,7 +746,7 @@ func TestOIDCService_SetClientConfigActivation_WithFeatureFlagEnabled(t *testing
747746
func setupOIDCService(t *testing.T, expClient experiments.Client) (*protocol.MockAPIInterface, v1connect.OIDCServiceClient, *gorm.DB) {
748747
t.Helper()
749748

750-
dbConn := dbtest.ConnectForTests(t).Debug()
749+
dbConn := dbtest.ConnectForTests(t)
751750

752751
ctrl := gomock.NewController(t)
753752
t.Cleanup(ctrl.Finish)

0 commit comments

Comments
 (0)