@@ -51,7 +51,7 @@ func setupMockIgnoreContext(t *testing.T, payload string, statusCode int) *mocks
51
51
config := configuration .New ()
52
52
config .Set (configuration .API_URL , "https://api.snyk.io" )
53
53
config .Set (configuration .ORGANIZATION , uuid .New ().String ())
54
- config .Set (configIgnoreApprovalEnabled , true )
54
+ config .Set (ConfigIgnoreApprovalEnabled , true )
55
55
// setup mocks
56
56
ctrl := gomock .NewController (t )
57
57
networkAccessMock := mocks .NewMockNetworkAccess (ctrl )
@@ -306,7 +306,7 @@ func Test_ignoreCreateWorkflowEntryPoint(t *testing.T) {
306
306
307
307
invocationContext := setupMockIgnoreContext (t , "{}" , http .StatusCreated )
308
308
config := invocationContext .GetConfiguration ()
309
- config .Set (configIgnoreApprovalEnabled , false )
309
+ config .Set (ConfigIgnoreApprovalEnabled , false )
310
310
311
311
config .Set (InteractiveKey , false )
312
312
@@ -330,7 +330,7 @@ func setupInteractiveMockContext(t *testing.T, mockApiResponse string, mockApiSt
330
330
config := configuration .New ()
331
331
config .Set (configuration .API_URL , "https://api.snyk.io" )
332
332
config .Set (configuration .ORGANIZATION , uuid .New ().String ())
333
- config .Set (configIgnoreApprovalEnabled , true )
333
+ config .Set (ConfigIgnoreApprovalEnabled , true )
334
334
config .Set (InteractiveKey , true ) // Always interactive
335
335
config .Set (EnrichResponseKey , true )
336
336
config .Set (configuration .ORGANIZATION_SLUG , "some-org" )
0 commit comments