Skip to content

Commit ce59e7c

Browse files
committed
test: update Travis MongoDB command
1 parent 0b2f713 commit ce59e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
- MONGODB_URL="mongo://travis:test@localhost:27017"
99
before_script:
1010
- sleep 15
11-
- mongo mydb_test --eval 'db.addUser("travis", "test");'
11+
- mongo mydb_test --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
1212
cache:
1313
directories:
1414
- node_modules

0 commit comments

Comments
 (0)