diff options
Diffstat (limited to 'server/tests/api/multiple-pods.js')
-rw-r--r-- | server/tests/api/multiple-pods.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/multiple-pods.js b/server/tests/api/multiple-pods.js index be278d7c5..f0fe59c5f 100644 --- a/server/tests/api/multiple-pods.js +++ b/server/tests/api/multiple-pods.js | |||
@@ -104,7 +104,7 @@ describe('Test multiple pods', function () { | |||
104 | expect(video.magnetUri).to.exist | 104 | expect(video.magnetUri).to.exist |
105 | expect(video.duration).to.equal(10) | 105 | expect(video.duration).to.equal(10) |
106 | expect(video.tags).to.deep.equal([ 'tag1p1', 'tag2p1' ]) | 106 | expect(video.tags).to.deep.equal([ 'tag1p1', 'tag2p1' ]) |
107 | expect(miscsUtils.dateIsValid(video.createdDate)).to.be.true | 107 | expect(miscsUtils.dateIsValid(video.createdAt)).to.be.true |
108 | expect(video.author).to.equal('root') | 108 | expect(video.author).to.equal('root') |
109 | 109 | ||
110 | if (server.url !== 'http://localhost:9001') { | 110 | if (server.url !== 'http://localhost:9001') { |
@@ -166,7 +166,7 @@ describe('Test multiple pods', function () { | |||
166 | expect(video.magnetUri).to.exist | 166 | expect(video.magnetUri).to.exist |
167 | expect(video.duration).to.equal(5) | 167 | expect(video.duration).to.equal(5) |
168 | expect(video.tags).to.deep.equal([ 'tag1p2', 'tag2p2', 'tag3p2' ]) | 168 | expect(video.tags).to.deep.equal([ 'tag1p2', 'tag2p2', 'tag3p2' ]) |
169 | expect(miscsUtils.dateIsValid(video.createdDate)).to.be.true | 169 | expect(miscsUtils.dateIsValid(video.createdAt)).to.be.true |
170 | expect(video.author).to.equal('root') | 170 | expect(video.author).to.equal('root') |
171 | 171 | ||
172 | if (server.url !== 'http://localhost:9002') { | 172 | if (server.url !== 'http://localhost:9002') { |
@@ -246,7 +246,7 @@ describe('Test multiple pods', function () { | |||
246 | expect(video1.duration).to.equal(5) | 246 | expect(video1.duration).to.equal(5) |
247 | expect(video1.tags).to.deep.equal([ 'tag1p3' ]) | 247 | expect(video1.tags).to.deep.equal([ 'tag1p3' ]) |
248 | expect(video1.author).to.equal('root') | 248 | expect(video1.author).to.equal('root') |
249 | expect(miscsUtils.dateIsValid(video1.createdDate)).to.be.true | 249 | expect(miscsUtils.dateIsValid(video1.createdAt)).to.be.true |
250 | 250 | ||
251 | expect(video2.name).to.equal('my super name for pod 3-2') | 251 | expect(video2.name).to.equal('my super name for pod 3-2') |
252 | expect(video2.description).to.equal('my super description for pod 3-2') | 252 | expect(video2.description).to.equal('my super description for pod 3-2') |
@@ -255,7 +255,7 @@ describe('Test multiple pods', function () { | |||
255 | expect(video2.duration).to.equal(5) | 255 | expect(video2.duration).to.equal(5) |
256 | expect(video2.tags).to.deep.equal([ 'tag2p3', 'tag3p3', 'tag4p3' ]) | 256 | expect(video2.tags).to.deep.equal([ 'tag2p3', 'tag3p3', 'tag4p3' ]) |
257 | expect(video2.author).to.equal('root') | 257 | expect(video2.author).to.equal('root') |
258 | expect(miscsUtils.dateIsValid(video2.createdDate)).to.be.true | 258 | expect(miscsUtils.dateIsValid(video2.createdAt)).to.be.true |
259 | 259 | ||
260 | if (server.url !== 'http://localhost:9003') { | 260 | if (server.url !== 'http://localhost:9003') { |
261 | expect(video1.isLocal).to.be.false | 261 | expect(video1.isLocal).to.be.false |