Skip to content

Commit 33ef61d

Browse files
committed
Updated tests and merged dependabot pull requests.
1 parent 59948a6 commit 33ef61d

35 files changed

+6461
-5893
lines changed

public/tests.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/tests.json

Lines changed: 6427 additions & 5859 deletions
Large diffs are not rendered by default.

test/v1.5-data-contacts-{contactid}-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const expect = chakram.expect;
77
describe('tests for /v1.5/data/contacts/{contactid}', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Contact"', function() {
10-
const response = request('get', 'http://localhost:3001/v1.5/data/contacts/-46349106', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/contacts/-4982637', {
1111
'time': true,
1212
});
1313

test/v1.5-data-geopoliticalunits-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('tests for /v1.5/data/geopoliticalunits', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "An array of geopolitical units."', function() {
1010
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits', {
11-
'qs': {'gpid': 5392, 'gpname': 'Canada', 'rank': 4, 'lower': false},
11+
'qs': {'gpid': 5392, 'gpname': 'Canada', 'rank': 1, 'lower': false},
1212
'time': true,
1313
});
1414

test/v1.5-data-geopoliticalunits-{gpid}-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const expect = chakram.expect;
77
describe('tests for /v1.5/data/geopoliticalunits/{gpid}', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "An array of geopolitical units."', function() {
10-
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/3319', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/7317', {
1111
'time': true,
1212
});
1313

test/v1.5-data-sites-{siteid}-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const expect = chakram.expect;
77
describe('tests for /v1.5/data/sites/{siteid}', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "An array of site elements."', function() {
10-
const response = request('get', 'http://localhost:3001/v1.5/data/sites/500', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/sites/6210', {
1111
'time': true,
1212
});
1313

test/v2.0-apps-constdb-datasetages-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasetages', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Returns an ordered array (from earliest to latest) of upload counts by month (YYYY/MM/DD; all days as 01). Months with no uploads are excluded. "', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasetages', {
11-
'qs': {'dbid': 16},
11+
'qs': {'dbid': 6},
1212
'time': true,
1313
});
1414

test/v2.0-apps-constdb-datasets-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasets', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Returns the set of datasets contained within a constituent database, identified by the constituent database identifier. Used for quick landing page generation. "', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasets', {
11-
'qs': {'dbid': 29},
11+
'qs': {'dbid': 4},
1212
'time': true,
1313
});
1414

test/v2.0-apps-constdb-datasetuploads-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasetuploads', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Returns an ordered array (from earliest to latest) of upload counts by month (YYYY/MM/DD; all days as 01). Months with no uploads are excluded. "', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasetuploads', {
11-
'qs': {'dbid': 11},
11+
'qs': {'dbid': 9},
1212
'time': true,
1313
});
1414

test/v2.0-apps-depenvt-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/depenvt', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "This returns the information about depositional environment for selected dataset/collection unit/site."', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/depenvt', {
11-
'qs': {'siteid': 27382, 'datasetid': 31156845, 'collectionunitid': 29466},
11+
'qs': {'siteid': 25764, 'datasetid': 46176350, 'collectionunitid': 47835},
1212
'time': true,
1313
});
1414

0 commit comments

Comments
 (0)