fix failed unit test caused by restructuring

This commit is contained in:
Brad Rydzewski 2015-05-17 11:48:02 -07:00
parent 40a9543c0c
commit f6b0c0cd9c
3 changed files with 5 additions and 5 deletions

View file

@ -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"
)

View file

@ -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)

View file

@ -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"