diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-17 11:35:10 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | afffe98839db7ccbfa9fb8b7d1413b97900fdc73 (patch) | |
tree | f0b3cbe58f73e81a5ba4bb31dabd9691994cf2ca /server/tests/api/multiple-pods.ts | |
parent | 1b3989b0961d22a5a45ad16239e3c3f58f66180c (diff) | |
download | PeerTube-afffe98839db7ccbfa9fb8b7d1413b97900fdc73.tar.gz PeerTube-afffe98839db7ccbfa9fb8b7d1413b97900fdc73.tar.zst PeerTube-afffe98839db7ccbfa9fb8b7d1413b97900fdc73.zip |
Speed up activity pub http requests
Diffstat (limited to 'server/tests/api/multiple-pods.ts')
-rw-r--r-- | server/tests/api/multiple-pods.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/multiple-pods.ts b/server/tests/api/multiple-pods.ts index 8e89da97a..3c6b3f650 100644 --- a/server/tests/api/multiple-pods.ts +++ b/server/tests/api/multiple-pods.ts | |||
@@ -113,7 +113,7 @@ describe('Test multiple pods', function () { | |||
113 | expect(video.tags).to.deep.equal([ 'tag1p1', 'tag2p1' ]) | 113 | expect(video.tags).to.deep.equal([ 'tag1p1', 'tag2p1' ]) |
114 | expect(dateIsValid(video.createdAt)).to.be.true | 114 | expect(dateIsValid(video.createdAt)).to.be.true |
115 | expect(dateIsValid(video.updatedAt)).to.be.true | 115 | expect(dateIsValid(video.updatedAt)).to.be.true |
116 | expect(video.author).to.equal('root') | 116 | expect(video.account).to.equal('root') |
117 | 117 | ||
118 | const res2 = await getVideo(server.url, video.uuid) | 118 | const res2 = await getVideo(server.url, video.uuid) |
119 | const videoDetails = res2.body | 119 | const videoDetails = res2.body |
@@ -202,7 +202,7 @@ describe('Test multiple pods', function () { | |||
202 | expect(video.tags).to.deep.equal([ 'tag1p2', 'tag2p2', 'tag3p2' ]) | 202 | expect(video.tags).to.deep.equal([ 'tag1p2', 'tag2p2', 'tag3p2' ]) |
203 | expect(dateIsValid(video.createdAt)).to.be.true | 203 | expect(dateIsValid(video.createdAt)).to.be.true |
204 | expect(dateIsValid(video.updatedAt)).to.be.true | 204 | expect(dateIsValid(video.updatedAt)).to.be.true |
205 | expect(video.author).to.equal('user1') | 205 | expect(video.account).to.equal('user1') |
206 | 206 | ||
207 | if (server.url !== 'http://localhost:9002') { | 207 | if (server.url !== 'http://localhost:9002') { |
208 | expect(video.isLocal).to.be.false | 208 | expect(video.isLocal).to.be.false |
@@ -696,7 +696,7 @@ describe('Test multiple pods', function () { | |||
696 | expect(baseVideo.licence).to.equal(video.licence) | 696 | expect(baseVideo.licence).to.equal(video.licence) |
697 | expect(baseVideo.category).to.equal(video.category) | 697 | expect(baseVideo.category).to.equal(video.category) |
698 | expect(baseVideo.nsfw).to.equal(video.nsfw) | 698 | expect(baseVideo.nsfw).to.equal(video.nsfw) |
699 | expect(baseVideo.author).to.equal(video.author) | 699 | expect(baseVideo.author).to.equal(video.account) |
700 | expect(baseVideo.tags).to.deep.equal(video.tags) | 700 | expect(baseVideo.tags).to.deep.equal(video.tags) |
701 | } | 701 | } |
702 | }) | 702 | }) |