fix failed unit test caused by restructuring
This commit is contained in:
parent
40a9543c0c
commit
f6b0c0cd9c
3 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue