aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/multiple-pods.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/multiple-pods.js')
-rw-r--r--server/tests/api/multiple-pods.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/multiple-pods.js b/server/tests/api/multiple-pods.js
index 7753e6f2d..abbc2caf4 100644
--- a/server/tests/api/multiple-pods.js
+++ b/server/tests/api/multiple-pods.js
@@ -118,7 +118,7 @@ describe('Test multiple pods', function () {
118 expect(video.licenceLabel).to.equal('Attribution - Non Commercial') 118 expect(video.licenceLabel).to.equal('Attribution - Non Commercial')
119 expect(video.language).to.equal(9) 119 expect(video.language).to.equal(9)
120 expect(video.languageLabel).to.equal('Japanese') 120 expect(video.languageLabel).to.equal('Japanese')
121 expect(video.nsfw).to.be.truthy 121 expect(video.nsfw).to.be.ok
122 expect(video.description).to.equal('my super description for pod 1') 122 expect(video.description).to.equal('my super description for pod 1')
123 expect(video.podHost).to.equal('localhost:9001') 123 expect(video.podHost).to.equal('localhost:9001')
124 expect(video.magnetUri).to.exist 124 expect(video.magnetUri).to.exist
@@ -195,7 +195,7 @@ describe('Test multiple pods', function () {
195 expect(video.licenceLabel).to.equal('Attribution - No Derivatives') 195 expect(video.licenceLabel).to.equal('Attribution - No Derivatives')
196 expect(video.language).to.equal(11) 196 expect(video.language).to.equal(11)
197 expect(video.languageLabel).to.equal('German') 197 expect(video.languageLabel).to.equal('German')
198 expect(video.nsfw).to.be.falsy 198 expect(video.nsfw).to.be.true
199 expect(video.description).to.equal('my super description for pod 2') 199 expect(video.description).to.equal('my super description for pod 2')
200 expect(video.podHost).to.equal('localhost:9002') 200 expect(video.podHost).to.equal('localhost:9002')
201 expect(video.magnetUri).to.exist 201 expect(video.magnetUri).to.exist
@@ -294,7 +294,7 @@ describe('Test multiple pods', function () {
294 expect(video1.licenceLabel).to.equal('Attribution - Non Commercial - Share Alike') 294 expect(video1.licenceLabel).to.equal('Attribution - Non Commercial - Share Alike')
295 expect(video1.language).to.equal(11) 295 expect(video1.language).to.equal(11)
296 expect(video1.languageLabel).to.equal('German') 296 expect(video1.languageLabel).to.equal('German')
297 expect(video1.nsfw).to.be.truthy 297 expect(video1.nsfw).to.be.ok
298 expect(video1.description).to.equal('my super description for pod 3') 298 expect(video1.description).to.equal('my super description for pod 3')
299 expect(video1.podHost).to.equal('localhost:9003') 299 expect(video1.podHost).to.equal('localhost:9003')
300 expect(video1.magnetUri).to.exist 300 expect(video1.magnetUri).to.exist
@@ -311,7 +311,7 @@ describe('Test multiple pods', function () {
311 expect(video2.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') 311 expect(video2.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives')
312 expect(video2.language).to.equal(12) 312 expect(video2.language).to.equal(12)
313 expect(video2.languageLabel).to.equal('Korean') 313 expect(video2.languageLabel).to.equal('Korean')
314 expect(video2.nsfw).to.be.falsy 314 expect(video2.nsfw).to.be.false
315 expect(video2.description).to.equal('my super description for pod 3-2') 315 expect(video2.description).to.equal('my super description for pod 3-2')
316 expect(video2.podHost).to.equal('localhost:9003') 316 expect(video2.podHost).to.equal('localhost:9003')
317 expect(video2.magnetUri).to.exist 317 expect(video2.magnetUri).to.exist
@@ -695,7 +695,7 @@ describe('Test multiple pods', function () {
695 expect(videoUpdated.licenceLabel).to.equal('Public Domain Dedication') 695 expect(videoUpdated.licenceLabel).to.equal('Public Domain Dedication')
696 expect(videoUpdated.language).to.equal(13) 696 expect(videoUpdated.language).to.equal(13)
697 expect(videoUpdated.languageLabel).to.equal('French') 697 expect(videoUpdated.languageLabel).to.equal('French')
698 expect(videoUpdated.nsfw).to.be.truthy 698 expect(videoUpdated.nsfw).to.be.ok
699 expect(videoUpdated.description).to.equal('my super description updated') 699 expect(videoUpdated.description).to.equal('my super description updated')
700 expect(videoUpdated.tags).to.deep.equal([ 'tagup1', 'tagup2' ]) 700 expect(videoUpdated.tags).to.deep.equal([ 'tagup1', 'tagup2' ])
701 expect(miscsUtils.dateIsValid(videoUpdated.updatedAt, 20000)).to.be.true 701 expect(miscsUtils.dateIsValid(videoUpdated.updatedAt, 20000)).to.be.true