summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2013-11-04 13:06:19 -0800
committerPhilip Chimento <philip@endlessm.com>2013-11-04 13:09:08 -0800
commit9866139366b3f541bd50737917626fd847236382 (patch)
treebda5f0da0c0d6d9e60db10f59753e276a2333e37 /test
parenta72453a32fe6a178aa957947631a30499b4cdf96 (diff)
Fix build
ArticleModel now has an extra required construct parameter: "source". [endlessm/eos-sdk#388]
Diffstat (limited to 'test')
-rw-r--r--test/wikipedia/models/testArticleModel.js1
-rw-r--r--test/wikipedia/models/testDomainWikiModel.js3
2 files changed, 4 insertions, 0 deletions
diff --git a/test/wikipedia/models/testArticleModel.js b/test/wikipedia/models/testArticleModel.js
index 9c7669c..655f187 100644
--- a/test/wikipedia/models/testArticleModel.js
+++ b/test/wikipedia/models/testArticleModel.js
@@ -3,6 +3,7 @@ const ArticleModel = imports.wikipedia.models.article_model;
let mockJsonData = {
title: 'Article Title',
url: 'file:///',
+ source: 'Mock data',
categories: [
'Category One',
'Category Two'
diff --git a/test/wikipedia/models/testDomainWikiModel.js b/test/wikipedia/models/testDomainWikiModel.js
index 9bdca02..e4e4d3f 100644
--- a/test/wikipedia/models/testDomainWikiModel.js
+++ b/test/wikipedia/models/testDomainWikiModel.js
@@ -46,6 +46,7 @@ let mockJsonData = {
{
title: 'Article One',
url: 'file:///article1.html',
+ source: 'Mock data',
categories: [
'Category One'
]
@@ -53,6 +54,7 @@ let mockJsonData = {
{
title: 'Article Two',
url: 'file:///article2.html',
+ source: 'Mock data',
categories: [
'Category One',
'Category Two'
@@ -61,6 +63,7 @@ let mockJsonData = {
{
title: 'Article Three',
url: 'file:///article3.html',
+ source: 'Mock data',
categories: [
'Category Two'
]