diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa282ce658..feb4caaa87 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -110,6 +110,7 @@ jobs: strategy: matrix: node-version: [12.x] + mongodb-version: [4.2] steps: - uses: actions/checkout@v1 with: @@ -122,7 +123,7 @@ jobs: uses: supercharge/mongodb-github-action@1.3.0 with: mongodb-version: ${{ matrix.mongodb-version }} - mongodb-replica-set: habitrpg-test-rs + mongodb-replica-set: habitica-test-rs - run: cp config.json.example config.json - name: npm install run: | diff --git a/config.json.example b/config.json.example index ef0fc36c2a..6a043e3b87 100644 --- a/config.json.example +++ b/config.json.example @@ -70,7 +70,7 @@ "SLACK_URL": "https://hooks.slack.com/services/some-url", "STRIPE_API_KEY": "aaaabbbbccccddddeeeeffff00001111", "STRIPE_PUB_KEY": "22223333444455556666777788889999", - "TEST_DB_URI": "mongodb://localhost:27017/habitrpg-test-rs", + "TEST_DB_URI": "mongodb://localhost:27017/habitica-test?replicaSet=habitica-test-rs", "TRANSIFEX_SLACK_CHANNEL": "transifex", "WEB_CONCURRENCY": 1, "SKIP_SSL_CHECK_KEY": "key",