MCPcopy Create free account
hub / github.com/apache/devlake / mockBitbucketPlugin

Function mockBitbucketPlugin

backend/plugins/bitbucket/api/blueprint_v200_test.go:33–39  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

31)
32
33func mockBitbucketPlugin(t *testing.T) {
34 mockMeta := mockplugin.NewPluginMeta(t)
35 mockMeta.On("RootPkgPath").Return("github.com/apache/incubator-devlake/plugins/bitbucket")
36 mockMeta.On("Name").Return("dummy").Maybe()
37 err := plugin.RegisterPlugin("bitbucket", mockMeta)
38 assert.Equal(t, err, nil)
39}
40
41func TestMakeScopes(t *testing.T) {
42 mockBitbucketPlugin(t)

Callers 3

TestMakeScopesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected