diff --git a/.travis.yml b/.travis.yml index 979f7dd..b7c4c8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,6 @@ install: - sudo mv docker-compose /usr/local/bin - go get github.com/dghubble/sling - go get github.com/stretchr/testify - - go get github.com/yhua123/harbor/tests/apitests/apilib before_script: # create tables and load data @@ -62,16 +61,9 @@ script: - docker-compose -f Deploy/docker-compose.yml up -d - docker ps - - docker version - - docker-compose version - go run tests/startuptest.go http://localhost/ - go run tests/userlogintest.go -name ${HARBOR_ADMIN} -passwd ${HARBOR_ADMIN_PASSWD} # test for API - - #IP=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'` - - #echo $IP - - #docker login -u admin -p Harbor12345 $IP - - #./tests/testprepare.sh - - docker ps - go test -v ./tests/apitests diff --git a/tests/apitests/hbapiaddprj_test.go b/tests/apitests/hbapiaddprj_test.go index 3a46733..4bb73ed 100644 --- a/tests/apitests/hbapiaddprj_test.go +++ b/tests/apitests/hbapiaddprj_test.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/stretchr/testify/assert" "testing" - "github.com/yhua123/harbor/tests/apitests/apilib" + "github.com/vmware/harbor/tests/apitests/apilib" ) func TestAddProject(t *testing.T) { diff --git a/tests/apitests/hbapisearch_test.go b/tests/apitests/hbapisearch_test.go index 58c6fd9..1d449d4 100644 --- a/tests/apitests/hbapisearch_test.go +++ b/tests/apitests/hbapisearch_test.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/stretchr/testify/assert" "testing" - "github.com/yhua123/harbor/tests/apitests/apilib" + "github.com/vmware/harbor/tests/apitests/apilib" ) func TestSearch(t *testing.T) {