Skip to content

Commit 40f1bbb

Browse files
committed
Corrects test script.
1 parent 96c1529 commit 40f1bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ if [ "${DEVELOP}" = "${TRAVIS_BRANCH}" ]; then
1313
mongo ll_staging --eval 'db.users.insert({"name" : "Test User", "email" : "[email protected]", "verified" : "yes", "role" : "super", "password" : "$2y$10$MKDC2thihULF3fNuVj.DyORidVd.airmxZicEcSrpNQRsJMX3ZGBW"})'
1414

1515
# Creates a new LRS.
16-
mongo ll_staging --eval 'db.lrs.insert({"title" : "Conformance", "description" : "", "owner_id" : new ObjectId(db.users.find()[0]._id)})'
16+
mongo ll_staging --eval 'db.lrs.insert({"title" : "Conformance", "description" : "", "owner_id" : db.users.find()[0]._id})'
1717

1818
# Creates a new Client.
19-
mongo ll_staging --eval 'db.client.insert({"api" : { "basic_key" : "1484c2ac05269b8c5479a1dd6a0d6370991fd6a1", "basic_secret" : "f0ef3d8062805c0fc1675beb8ac0715c75df13cb" }, "lrs_id" : new ObjectId(db.lrs.find()[0]._id), "authority" : { "name" : "New Client", "mbox" : "mailto:[email protected]" }, "scopes" : [ "all" ]})'
19+
mongo ll_staging --eval 'db.client.insert({"api" : { "basic_key" : "1484c2ac05269b8c5479a1dd6a0d6370991fd6a1", "basic_secret" : "f0ef3d8062805c0fc1675beb8ac0715c75df13cb" }, "lrs_id" : db.lrs.find()[0]._id, "authority" : { "name" : "New Client", "mbox" : "mailto:[email protected]" }, "scopes" : [ "all" ]})'
2020

2121
# Runs the test suite.
2222
git clone https://github.com/ryansmith94/xAPI_LRS_Test.git conformance > /dev/null

0 commit comments

Comments
 (0)