Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ app.engine('html', require('ejs').renderFile);
const {optionalAuth} = require('./v2.0/helpers/validation/sessionauth');
const allowedOrigins = env === 'production'
? ['https://data.neotomadb.org', 'https://apps.neotomadb.org']
: ['http://localhost:5173', 'http://127.0.0.1:5173'];
: [ 'http://localhost:5173', 'http://127.0.0.1:5173',
'http://localhost:3305', 'http://127.0.0.1:3305'
];
Comment on lines +43 to +45

const corsOptions = {
origin: function(origin, callback) {
Expand All @@ -49,7 +51,7 @@ const corsOptions = {
return callback(new Error(`CORS: origin ${origin} not allowed`));
},
credentials: true,
allowedHeaders: ['Content-Type', 'Authorization'],
allowedHeaders: ['Content-Type', 'Authorization', 'X-Requested-With'],
maxAge: 600,
};

Expand Down
2 changes: 1 addition & 1 deletion public/tests.html

Large diffs are not rendered by default.

5,158 changes: 2,579 additions & 2,579 deletions public/tests.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/v1.5-data-contacts-{contactid}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v1.5/data/contacts/{contactid}', function() {
describe('tests for get', function() {
it('should respond 200 for "Contact"', function() {
var response = request('get', 'http://localhost:3001/v1.5/data/contacts/-43687448', {
var response = request('get', 'http://localhost:3001/v1.5/data/contacts/-45400452', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v1.5-data-geopoliticalunits-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v1.5/data/geopoliticalunits', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of geopolitical units."', function() {
var response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits', {
'qs': {"gpid":5392,"gpname":"Canada","rank":4,"lower":false},
'qs': {"gpid":5392,"gpname":"Canada","rank":1,"lower":true},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v1.5-data-geopoliticalunits-{gpid}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v1.5/data/geopoliticalunits/{gpid}', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of geopolitical units."', function() {
var response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/7324', {
var response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/716', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-apps-constdb-datasetages-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasetages', function() {
describe('tests for get', function() {
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() {
var response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasetages', {
'qs': {"dbid":7},
'qs': {"dbid":25},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-apps-constdb-datasets-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasets', function() {
describe('tests for get', function() {
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() {
var response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasets', {
'qs': {"dbid":7},
'qs': {"dbid":20},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-apps-constdb-datasetuploads-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasetuploads', function() {
describe('tests for get', function() {
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() {
var response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasetuploads', {
'qs': {"dbid":17},
'qs': {"dbid":16},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-apps-depenvt-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/depenvt', function() {
describe('tests for get', function() {
it('should respond 200 for "This returns the information about depositional environment for selected dataset/collection unit/site."', function() {
var response = request('get', 'http://localhost:3001/v2.0/apps/depenvt', {
'qs': {"siteid":7138,"datasetid":98069349,"collectionunitid":52407},
'qs': {"siteid":4712,"datasetid":15304005,"collectionunitid":7254},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-apps-taphonomysystems-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/apps/taphonomysystems', function() {
describe('tests for get', function() {
it('should respond 200 for "A table of Neotoma collection types."', function() {
var response = request('get', 'http://localhost:3001/v2.0/apps/taphonomysystems', {
'qs': {"datasettypeid":18},
'qs': {"datasettypeid":40},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-aggregatedatasets-{aggdatasetid}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/aggregatedatasets/{aggdatasetid}', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of datasets."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/aggregatedatasets/500', {
var response = request('get', 'http://localhost:3001/v2.0/data/aggregatedatasets/5536', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-chronologies-{chronid}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/chronologies/{chronid}', function() {
describe('tests for get', function() {
it('should respond 200 for "A Neotoma chronology object."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/chronologies/2377', {
var response = request('get', 'http://localhost:3001/v2.0/data/chronologies/500', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-contacts-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/contacts', function() {
describe('tests for get', function() {
it('should respond 200 for "contact"', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/contacts', {
'qs': {"contactid":16344,"familyname":"va","contactname":"CRiRvaalLDp","contactstatus":"defunct","limit": 10,"offset": 0},
'qs': {"contactid":8421,"familyname":"UcoCW","contactname":"FDc","contactstatus":"active","limit": 10,"offset": 0},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-contacts-{contactid}-sites-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/contacts/{contactid}/sites', function() {
describe('tests for get', function() {
it('should respond 200 for "A Neotoma sites object."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/contacts/8571/sites', {
var response = request('get', 'http://localhost:3001/v2.0/data/contacts/500/sites', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-contacts-{contactid}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/contacts/{contactid}', function() {
describe('tests for get', function() {
it('should respond 200 for "A Neotoma contacts object."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/contacts/500', {
var response = request('get', 'http://localhost:3001/v2.0/data/contacts/1231', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-datasets-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/datasets', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of datasets."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/datasets', {
'qs': {"sitename":"ut cillum consectetur","database":"St. Croix Watershed Research Station of the Science Museum of Minnesota","datasettype":"macroinvertebrate","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","siteid":31891,"datasetid":23595575,"doi":"10B18997295/TZX21W4","gpid":5392,"keyword":"modern","contactid":20234,"taxa":"exercitation amet irure Excepteur","ageyoung": 1000,"ageold": 10000,"ageof":7003042,"limit": 10,"offset": 0},
'qs': {"sitename":"Excepteur sint anim sed do","database":"Canadian Pollen Database","datasettype":"charcoal surface sample","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","siteid":45345,"datasetid":12116711,"doi":"10d91690/6YEIVB","gpid":5392,"keyword":"modern","contactid":14536,"taxa":"dolore elit","ageyoung": 1000,"ageold": 10000,"ageof":13721899,"limit": 10,"offset": 0},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-datasets_elc-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/datasets_elc', function() {
describe('tests for get', function() {
it('should respond 200 for "A Neotoma datasets object suitable for the EarthLife Consortium API."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/datasets_elc', {
'qs': {"siteid":2501,"contactid":8324,"datasettype":"ostracode","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","ageyoung": 1000,"ageold": 10000,"ageof":22149359},
'qs': {"siteid":19427,"contactid":9808,"datasettype":"ostracode surface sample","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","ageyoung": 1000,"ageold": 10000,"ageof":22042396},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-dbtables-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/dbtables', function() {
describe('tests for get', function() {
it('should respond 200 for "Returned table."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/dbtables', {
'qs': {"table":"Duis pariatur","count":false,"limit": 10,"offset": 0},
'qs': {"table":"culpa qui aliqua","count":false,"limit": 10,"offset": 0},
'time': true
});

Expand Down
4 changes: 2 additions & 2 deletions test/v2.0-data-dbtables-{table}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/dbtables/{table}', function() {
describe('tests for get', function() {
it('should respond 200 for "Returned table."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/dbtables/elitidsintnisiDuis', {
'qs': {"count":false,"limit": 10,"offset": 0},
var response = request('get', 'http://localhost:3001/v2.0/data/dbtables/veniam', {
'qs': {"count":true,"limit": 10,"offset": 0},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-geopoliticalunits-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/geopoliticalunits', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of geopolitical units."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/geopoliticalunits', {
'qs': {"gpid":5392,"gpname":"Canada","rank":3,"lower":false},
'qs': {"gpid":5392,"gpname":"Canada","rank":4,"lower":true},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-geopoliticalunits-{gpid}-datasets-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/geopoliticalunits/{gpid}/datasets', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of datasets."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/geopoliticalunits/7248/datasets', {
var response = request('get', 'http://localhost:3001/v2.0/data/geopoliticalunits/4013/datasets', {
'qs': {"limit": 10,"offset": 0},
'time': true
});
Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-geopoliticalunits-{gpid}-sites-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/geopoliticalunits/{gpid}/sites', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of sites."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/geopoliticalunits/4146/sites', {
var response = request('get', 'http://localhost:3001/v2.0/data/geopoliticalunits/9953/sites', {
'qs': {"limit": 10,"offset": 0},
'time': true
});
Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-geopoliticalunits-{gpid}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/geopoliticalunits/{gpid}', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of geopolitical units."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/geopoliticalunits/523', {
var response = request('get', 'http://localhost:3001/v2.0/data/geopoliticalunits/8983', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-occurrences-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/occurrences', function() {
describe('tests for get', function() {
it('should respond 200 for "occurrence"', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/occurrences', {
'qs': {"taxonname":"in laborum","taxonid":8523,"siteid":7926,"sitename":"et Lorem exercitation","datasettype":"X-ray fluorescence (XRF)","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","ageof":956783,"ageyoung": 1000,"ageold": 10000,"limit": 10,"offset": 0},
'qs': {"taxonname":"do","taxonid":15630,"siteid":47495,"sitename":"Excepteur quis exercitation in voluptate","datasettype":"physical sedimentology","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","ageof":2824041,"ageyoung": 1000,"ageold": 10000,"limit": 10,"offset": 0},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-pollen-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/pollen', function() {
describe('tests for get', function() {
it('should respond 200 for "A record of all pollen samples in time/space for a particular taxon."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/pollen', {
'qs': {"taxonname":"cupidatat ullamco Lorem nisi aliquip","taxonid":20895,"siteid":22291,"sitename":"et","datasettype":"biomarker","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","ageof":16889037,"ageyoung": 1000,"ageold": 10000,"limit": 10,"offset": 0},
'qs': {"taxonname":"mollit ea exercitation","taxonid":26150,"siteid":43990,"sitename":"sint cupidatat deserunt quis laboris","datasettype":"X-ray diffraction (XRD)","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","ageof":17402500,"ageyoung": 1000,"ageold": 10000,"limit": 10,"offset": 0},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-pollen-{id}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/pollen/{id}', function() {
describe('tests for get', function() {
it('should respond 200 for "A record of all pollen samples in time/space for a particular taxon."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/pollen/446', {
var response = request('get', 'http://localhost:3001/v2.0/data/pollen/500', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-publications-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/publications', function() {
describe('tests for get', function() {
it('should respond 200 for "A list of publications."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/publications', {
'qs': {"publicationid":16502,"datasetid":78894653,"siteid":36633,"familyname":"jBMy ","pubtype":"Undergraduate thesis","year":1584,"search":"adipisicing ad ut","limit": 10,"offset": 0},
'qs': {"publicationid":4903,"datasetid":19947503,"siteid":38778,"familyname":"'sLglW","pubtype":"Book Chapter","year":1527,"search":"ut sit in mollit","limit": 10,"offset": 0},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-publications-{publicationid}-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/publications/{publicationid}', function() {
describe('tests for get', function() {
it('should respond 200 for "A list of publications."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/publications/6927', {
var response = request('get', 'http://localhost:3001/v2.0/data/publications/5728', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-sites-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('tests for /v2.0/data/sites', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of sites."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/sites', {
'qs': {"sitename":"sunt","database":"Canadian Museum of Nature-Delorme Ostracoda-Surface Samples","datasettype":"specimen stable isotope","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","siteid":42988,"datasetid":60309948,"doi":"1021436435/Q7","gpid":5392,"keyword":"beyond radiocarbon","contactid":13502,"taxa":"minim","ageyoung": 1000,"ageold": 10000,"ageof":4640795,"limit": 10,"offset": 0},
'qs': {"sitename":"nostrud velit dolore in in","database":"Diatom Paleolimnology Data Cooperative (DPDC)","datasettype":"modern biochemistry","altmin": 10,"altmax": 100,"loc":"{\"type\":\"Polygon\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}},\"coordinates\":[[[13.4,55.92],[13.5,55.92],[13.5,55.95],[13.4,55.95],[13.4,55.92]]]}","siteid":2022,"datasetid":67760076,"doi":"10)73259/W8;78U83/","gpid":5392,"keyword":"bottom","contactid":20094,"taxa":"adipisicing nostrud exercitation","ageyoung": 1000,"ageold": 10000,"ageof":19655794,"limit": 10,"offset": 0},
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-sites-{siteid}-chronologies-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/sites/{siteid}/chronologies', function() {
describe('tests for get', function() {
it('should respond 200 for "chronology"', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/sites/1711/chronologies', {
var response = request('get', 'http://localhost:3001/v2.0/data/sites/500/chronologies', {
'time': true
});

Expand Down
2 changes: 1 addition & 1 deletion test/v2.0-data-sites-{siteid}-datasets-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = chakram.expect;
describe('tests for /v2.0/data/sites/{siteid}/datasets', function() {
describe('tests for get', function() {
it('should respond 200 for "An array of datasets."', function() {
var response = request('get', 'http://localhost:3001/v2.0/data/sites/2130/datasets', {
var response = request('get', 'http://localhost:3001/v2.0/data/sites/500/datasets', {
'time': true
});

Expand Down
Loading
Loading