Skip to content

Commit 1e6ed16

Browse files
committed
Ran tests, pushing to develpo
We've fixed up some elements of the github actions to try to make sure that we're hitting the right DB in dev vs production. It looks like the production endpoint is working. Now we just need to check Dev.
1 parent b4cea6b commit 1e6ed16

35 files changed

+4395
-4395
lines changed

public/tests.html

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

public/tests.json

Lines changed: 4360 additions & 4360 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/-44938686', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/contacts/500', {
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': true},
11+
'qs': {'gpid': 5392, 'gpname': 'Canada', 'rank': 3, '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/6244', {
10+
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/8775', {
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': 14},
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': 9},
11+
'qs': {'dbid': 10},
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': 1},
11+
'qs': {'dbid': 25},
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': 43078, 'datasetid': 50991512, 'collectionunitid': 67404},
11+
'qs': {'siteid': 3940, 'datasetid': 32328340, 'collectionunitid': 19656},
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': 42},
11+
'qs': {'datasettypeid': 11},
1212
'time': true,
1313
});
1414

0 commit comments

Comments
 (0)