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

Function mockGitlabPlugin

backend/plugins/gitlab/api/blueprint_V200_test.go:35–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

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

Callers 4

TestMakeScopesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected