Skip to content

Commit 487890a

Browse files
committed
update integration test data
1 parent eaeead3 commit 487890a

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"fielddb-web": "./bin/fielddb-web-server"
6868
},
6969
"engines": {
70-
"node": "~4.0 || ~6.0"
70+
"node": "^4.0 || ^6.0"
7171
},
7272
"scripts": {
7373
"build": "npm run webpack && gulp build",

test/integration/activity-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var supertest = require("supertest");
44

55
var api = require("../../server");
66
var specIsRunningTooLong = 5000;
7-
var LINGLLAMA_ACTIVITY_SIZE = 94;
7+
var LINGLLAMA_ACTIVITY_SIZE = 103;
88
var COMMUNITY_GEORGIAN_ACTIVITY_SIZE = 218;
99

1010
var acceptSelfSignedCertificates = {

test/lib/activity-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var config = require("config");
22
var expect = require("chai").expect;
33
var activityHeatMap = require("./../../lib/activity").activityHeatMap;
44
var specIsRunningTooLong = 5000;
5-
var LINGLLAMA_ACTIVITY_SIZE = 94;
5+
var LINGLLAMA_ACTIVITY_SIZE = 103;
66
var COMMUNITY_GEORGIAN_ACTIVITY_SIZE = 218;
77

88
var acceptSelfSignedCertificates = {

test/lib/corpora-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var config = require("config");
22
var expect = require("chai").expect;
33
var getAllCorpora = require("./../../lib/corpora").getAllCorpora;
44
var specIsRunningTooLong = 15000;
5-
var TOTAL_CORPORA_COUNT = 236;
5+
var TOTAL_CORPORA_COUNT = 249;
66

77
if (process.env.OFFLINE) {
88
TOTAL_CORPORA_COUNT = 2;

test/lib/corpus-spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ describe("corpus lib", function() {
9393

9494
getCorpusMask("lingllama-communitycorpus", done).then(function(mask) {
9595
expect(mask).to.be.defined;
96-
expect(mask._rev).to.deep.equal("50-652a20322e696773482b140780fd6a99");
96+
expect(mask._rev).to.deep.equal("64-9f86db77de4d7dc204a9fa65259e7f2c");
9797
expect(mask.fieldDBtype).to.deep.equal("CorpusMask");
9898
expect(mask.dbname).to.deep.equal("lingllama-communitycorpus");
9999
expect(mask.url).to.not.contain(corpusConfig.auth);
100100
expect(mask.title).to.deep.equal("Community Corpus");
101101
expect(mask.titleAsUrl).to.deep.equal("community_corpus");
102102
expect(mask.description).to.deep.equal("This is a corpus which is editable by anyone in the LingSync community. Anyone can add comments to data, import data, experiment and help suggestions for other community members.");
103103
expect(mask.copyright).to.deep.equal("lingllama");
104-
expect(mask.fields.length).to.equal(18);
104+
expect(mask.fields.length).to.equal(29);
105105
// console.log(JSON.stringify(mask, null, 2));
106106
expect(mask.termsOfUse).to.be.defined;
107107
expect(mask.termsOfUse).to.contain("Sample: The materials included in this corpus are available");
@@ -287,7 +287,7 @@ describe("corpus lib", function() {
287287
throw err;
288288
}).then(function(mask) {
289289
expect(mask).to.be.defined;
290-
expect(mask._rev).to.deep.equal("50-652a20322e696773482b140780fd6a99");
290+
expect(mask._rev).to.deep.equal("64-9f86db77de4d7dc204a9fa65259e7f2c");
291291
expect(mask.fieldDBtype).to.deep.equal("CorpusMask");
292292
expect(mask.dbname).to.deep.equal("lingllama-communitycorpus");
293293
expect(mask.title).to.deep.equal("Community Corpus");

test/lib/user-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe("user lib", function() {
5757
var titles = mask.corpora.map(function(connection) {
5858
return connection.title;
5959
}).sort();
60-
expect(titles).to.deep.equal(["Georgian Together", "Learn Mi'gmaq", "Private Corpus"]);
60+
expect(titles).to.deep.equal(["Georgian Together", "Migmaq", "Private Corpus"]);
6161
var gravatars = mask.corpora.map(function(connection) {
6262
return connection.gravatar;
6363
}).sort();

0 commit comments

Comments
 (0)