Skip to content

Commit d6ea642

Browse files
authored
Merge pull request #223 from carlosms/rename-web-reponame
Rename to Web: update repository name in tests and staging
2 parents d5473be + 7b7f40c commit d6ea642

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
workspace:
22
base: /go
3-
path: src/github.com/src-d/gitbase-playground
3+
path: src/github.com/src-d/gitbase-web
44

55
branches: [master]
66

.helm-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ gitbaseServer:
3636
#commit: v4.4.0
3737
gitbase:
3838
url: https://github.com/src-d/gitbase.git
39-
gitbase-playground:
40-
url: https://github.com/src-d/gitbase-playground.git
39+
gitbase-web:
40+
url: https://github.com/src-d/gitbase-web.git
4141
bblfshd:
4242
url: https://github.com/bblfsh/bblfshd.git
4343
siva-java:

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- docker exec -it bblfshd bblfshctl driver install go docker://bblfsh/go-driver:latest
4848
- docker exec -it bblfshd bblfshctl driver install javascript docker://bblfsh/javascript-driver:latest
4949
- mkdir $HOME/repos
50-
- git clone https://github.com/src-d/gitbase-playground.git $HOME/repos/gitbase-playground
50+
- git clone https://github.com/src-d/gitbase-web.git $HOME/repos/gitbase-web
5151
- docker run -d --name gitbase -p "3367:3306" -e "BBLFSH_ENDPOINT=bblfshd:9432" --volume $HOME/repos:/opt/repos --link bblfshd srcd/gitbase
5252
- sleep 15
5353
- GITBASEPG_DB_CONNECTION='root@tcp(localhost:3367)/none' GITBASEPG_INTEGRATION_TESTS=true make test

server/handler/export_integration_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ func (suite *ExportIntegrationSuite) TestSuccess() {
5050
r := csv.NewReader(res.Body)
5151

5252
record, err := r.Read()
53-
suite.Nil(err)
54-
suite.Equal(record, []string{"repository_id"})
53+
suite.Require().Nil(err)
54+
suite.Require().Equal(record, []string{"repository_id"})
5555

5656
record, err = r.Read()
57-
suite.Nil(err)
58-
suite.Equal(len(record), 1)
59-
suite.True(len(record[0]) > 0)
57+
suite.Require().Nil(err)
58+
suite.Require().Equal(len(record), 1)
59+
suite.Require().True(len(record[0]) > 0)
6060
}
6161

6262
func (suite *ExportIntegrationSuite) TestError() {

0 commit comments

Comments
 (0)