diff options
Diffstat (limited to 'server/tests/api/single-pod.js')
-rw-r--r-- | server/tests/api/single-pod.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/server/tests/api/single-pod.js b/server/tests/api/single-pod.js index 0dac9a183..1258e7e55 100644 --- a/server/tests/api/single-pod.js +++ b/server/tests/api/single-pod.js | |||
@@ -126,7 +126,7 @@ describe('Test a single pod', function () { | |||
126 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') | 126 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') |
127 | expect(video.language).to.equal(3) | 127 | expect(video.language).to.equal(3) |
128 | expect(video.languageLabel).to.equal('Mandarin') | 128 | expect(video.languageLabel).to.equal('Mandarin') |
129 | expect(video.nsfw).to.be.truthy | 129 | expect(video.nsfw).to.be.ok |
130 | expect(video.description).to.equal('my super description') | 130 | expect(video.description).to.equal('my super description') |
131 | expect(video.podHost).to.equal('localhost:9001') | 131 | expect(video.podHost).to.equal('localhost:9001') |
132 | expect(video.magnetUri).to.exist | 132 | expect(video.magnetUri).to.exist |
@@ -169,7 +169,7 @@ describe('Test a single pod', function () { | |||
169 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') | 169 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') |
170 | expect(video.language).to.equal(3) | 170 | expect(video.language).to.equal(3) |
171 | expect(video.languageLabel).to.equal('Mandarin') | 171 | expect(video.languageLabel).to.equal('Mandarin') |
172 | expect(video.nsfw).to.be.truthy | 172 | expect(video.nsfw).to.be.ok |
173 | expect(video.description).to.equal('my super description') | 173 | expect(video.description).to.equal('my super description') |
174 | expect(video.podHost).to.equal('localhost:9001') | 174 | expect(video.podHost).to.equal('localhost:9001') |
175 | expect(video.magnetUri).to.exist | 175 | expect(video.magnetUri).to.exist |
@@ -231,7 +231,7 @@ describe('Test a single pod', function () { | |||
231 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') | 231 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') |
232 | expect(video.language).to.equal(3) | 232 | expect(video.language).to.equal(3) |
233 | expect(video.languageLabel).to.equal('Mandarin') | 233 | expect(video.languageLabel).to.equal('Mandarin') |
234 | expect(video.nsfw).to.be.truthy | 234 | expect(video.nsfw).to.be.ok |
235 | expect(video.description).to.equal('my super description') | 235 | expect(video.description).to.equal('my super description') |
236 | expect(video.podHost).to.equal('localhost:9001') | 236 | expect(video.podHost).to.equal('localhost:9001') |
237 | expect(video.author).to.equal('root') | 237 | expect(video.author).to.equal('root') |
@@ -293,7 +293,7 @@ describe('Test a single pod', function () { | |||
293 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') | 293 | expect(video.licenceLabel).to.equal('Attribution - Non Commercial - No Derivatives') |
294 | expect(video.language).to.equal(3) | 294 | expect(video.language).to.equal(3) |
295 | expect(video.languageLabel).to.equal('Mandarin') | 295 | expect(video.languageLabel).to.equal('Mandarin') |
296 | expect(video.nsfw).to.be.truthy | 296 | expect(video.nsfw).to.be.ok |
297 | expect(video.description).to.equal('my super description') | 297 | expect(video.description).to.equal('my super description') |
298 | expect(video.podHost).to.equal('localhost:9001') | 298 | expect(video.podHost).to.equal('localhost:9001') |
299 | expect(video.author).to.equal('root') | 299 | expect(video.author).to.equal('root') |
@@ -641,7 +641,7 @@ describe('Test a single pod', function () { | |||
641 | expect(video.licenceLabel).to.equal('Attribution - Share Alike') | 641 | expect(video.licenceLabel).to.equal('Attribution - Share Alike') |
642 | expect(video.language).to.equal(5) | 642 | expect(video.language).to.equal(5) |
643 | expect(video.languageLabel).to.equal('Arabic') | 643 | expect(video.languageLabel).to.equal('Arabic') |
644 | expect(video.nsfw).to.be.truthy | 644 | expect(video.nsfw).to.be.ok |
645 | expect(video.description).to.equal('my super description updated') | 645 | expect(video.description).to.equal('my super description updated') |
646 | expect(video.podHost).to.equal('localhost:9001') | 646 | expect(video.podHost).to.equal('localhost:9001') |
647 | expect(video.author).to.equal('root') | 647 | expect(video.author).to.equal('root') |
@@ -685,7 +685,7 @@ describe('Test a single pod', function () { | |||
685 | expect(video.licenceLabel).to.equal('Attribution - Share Alike') | 685 | expect(video.licenceLabel).to.equal('Attribution - Share Alike') |
686 | expect(video.language).to.equal(5) | 686 | expect(video.language).to.equal(5) |
687 | expect(video.languageLabel).to.equal('Arabic') | 687 | expect(video.languageLabel).to.equal('Arabic') |
688 | expect(video.nsfw).to.be.truthy | 688 | expect(video.nsfw).to.be.ok |
689 | expect(video.description).to.equal('my super description updated') | 689 | expect(video.description).to.equal('my super description updated') |
690 | expect(video.podHost).to.equal('localhost:9001') | 690 | expect(video.podHost).to.equal('localhost:9001') |
691 | expect(video.author).to.equal('root') | 691 | expect(video.author).to.equal('root') |
@@ -719,7 +719,7 @@ describe('Test a single pod', function () { | |||
719 | expect(video.licenceLabel).to.equal('Attribution - Share Alike') | 719 | expect(video.licenceLabel).to.equal('Attribution - Share Alike') |
720 | expect(video.language).to.equal(5) | 720 | expect(video.language).to.equal(5) |
721 | expect(video.languageLabel).to.equal('Arabic') | 721 | expect(video.languageLabel).to.equal('Arabic') |
722 | expect(video.nsfw).to.be.truthy | 722 | expect(video.nsfw).to.be.ok |
723 | expect(video.description).to.equal('hello everybody') | 723 | expect(video.description).to.equal('hello everybody') |
724 | expect(video.podHost).to.equal('localhost:9001') | 724 | expect(video.podHost).to.equal('localhost:9001') |
725 | expect(video.author).to.equal('root') | 725 | expect(video.author).to.equal('root') |