mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
fix failed unit test caused by restructuring
This commit is contained in:
@@ -6,8 +6,8 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/drone/drone/common"
|
||||
"github.com/drone/drone/parser"
|
||||
"github.com/drone/drone/parser/inject"
|
||||
"github.com/drone/drone/pkg/yaml"
|
||||
"github.com/drone/drone/pkg/yaml/inject"
|
||||
"github.com/samalba/dockerclient"
|
||||
)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"github.com/drone/drone/common"
|
||||
"github.com/drone/drone/common/ccmenu"
|
||||
"github.com/drone/drone/datastore/mock"
|
||||
"github.com/drone/drone/pkg/store/mock"
|
||||
"github.com/drone/drone/server/recorder"
|
||||
|
||||
. "github.com/franela/goblin"
|
||||
@@ -35,7 +35,7 @@ var badgeTests = []struct {
|
||||
}
|
||||
|
||||
func TestBadges(t *testing.T) {
|
||||
store := new(mocks.Datastore)
|
||||
store := new(mocks.Store)
|
||||
url_, _ := url.Parse("http://localhost:8080")
|
||||
|
||||
g := Goblin(t)
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/drone/drone/common"
|
||||
"github.com/drone/drone/datastore/mock"
|
||||
"github.com/drone/drone/pkg/store/mock"
|
||||
"github.com/drone/drone/server/recorder"
|
||||
. "github.com/franela/goblin"
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
Reference in New Issue
Block a user