Skip to content

Commit 1317a66

Browse files
committed
Just cleaning up tests.
1 parent 3219a1d commit 1317a66

35 files changed

+4777
-4777
lines changed

public/tests.html

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

public/tests.json

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

test/v1.5-data-datasets-{datasetid}-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/datasets/{datasetid}', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "An array of datasets."', function() {
10-
const response = request('get', 'http://localhost:3001/v1.5/data/datasets/500', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/datasets/3903', {
1111
'time': true,
1212
});
1313

test/v1.5-data-downloads-{datasetid}-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/downloads/{datasetid}', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Returned download object."', function() {
10-
const response = request('get', 'http://localhost:3001/v1.5/data/downloads/500', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/downloads/3314', {
1111
'time': true,
1212
});
1313

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/500', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/3186', {
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': 34},
11+
'qs': {'dbid': 20},
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': 2},
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/collention unit/site."', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/depenvt', {
11-
'qs': {'siteid': 28538, 'datasetid': 95178940, 'collectionunitid': 17827992},
11+
'qs': {'siteid': 15417, 'datasetid': 13525561, 'collectionunitid': 24821941},
1212
'time': true,
1313
});
1414

test/v2.0-apps-taphonomysystems-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/taphonomysystems', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "A table of Neotoma collection types."', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/taphonomysystems', {
11-
'qs': {'datasettypeid': 39},
11+
'qs': {'datasettypeid': 24},
1212
'time': true,
1313
});
1414

test/v2.0-data-contacts-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/data/contacts', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "contact"', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/data/contacts', {
11-
'qs': {'contactid': 12404, 'familyname': '\'\'HWCl', 'contactname': 'i', 'contactstatus': 'unknown', 'limit': 10, 'offset': 0},
11+
'qs': {'contactid': 9073, 'familyname': 'buiPy-Uu', 'contactname': 'dRKsruc', 'contactstatus': 'retired', 'limit': 10, 'offset': 0},
1212
'time': true,
1313
});
1414

0 commit comments

Comments
 (0)