MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / initMockedManager

Function initMockedManager

pkg/credentials/aws/secretmanager_test.go:301–307  ·  view source on GitHub ↗
(s *testSuite)

Source from the content-addressed store, hash-verified

299}
300
301func initMockedManager(s *testSuite) {
302 opts := &NewManagerOpts{Region: defaultRegion, AccessKey: defaultAccessKey, SecretKey: defaultSecretKey}
303 m, err := NewManager(opts)
304 require.NoError(s.T(), err)
305 m.client = mclient.NewSecretsManagerIface(s.T())
306 s.mockedManager = m
307}
308
309// Run the tests
310func TestAWSSecretManager(t *testing.T) {

Callers 4

SetupTestMethod · 0.85

Calls 1

NewManagerFunction · 0.70

Tested by

no test coverage detected