Skip to content

Commit

Permalink
Move the tests to talk-test.zooniverse.org
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Apr 1, 2024
1 parent a595a83 commit 43bcf0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var TALK_HOSTS = {
production: 'https://talk.zooniverse.org',
staging: 'https://talk-staging.zooniverse.org',
development: 'https://talk-staging.zooniverse.org',
test: 'https://talk.zooniverse.org'
test: 'https://talk-test.zooniverse.org'
};

var SUGAR_HOSTS = {
Expand Down
4 changes: 2 additions & 2 deletions test/talkClient.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { talkSearch, talkSearchWithNull } from './support/mockTalkAPI.mjs';
describe('talkClient', function () {
describe('search', function () {
specify('should return a list of comments', async function () {
nock('https://talk.zooniverse.org')
nock('https://talk-test.zooniverse.org')
.get('/searches?http_cache=true&types=comments&section=zooniverse&page=1&pageSize=10&query=depression')
.reply(200, talkSearch);

Expand All @@ -27,7 +27,7 @@ describe('talkClient', function () {
});
specify('should ignore null comments', async function () {
// this Talk query returns 9 comments and one null comment.
nock('https://talk.zooniverse.org')
nock('https://talk-test.zooniverse.org')
.get('/searches?http_cache=true&types=comments&section=zooniverse&page=3&pageSize=10&query=depression')
.reply(200, talkSearchWithNull);

Expand Down

0 comments on commit 43bcf0e

Please sign in to comment.