aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/singlePod.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/singlePod.js')
-rw-r--r--server/tests/api/singlePod.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/tests/api/singlePod.js b/server/tests/api/singlePod.js
index 64d5475dd..efd8a64bc 100644
--- a/server/tests/api/singlePod.js
+++ b/server/tests/api/singlePod.js
@@ -72,6 +72,8 @@ describe('Test a single pod', function () {
72 expect(video.description).to.equal('my super description') 72 expect(video.description).to.equal('my super description')
73 expect(video.podUrl).to.equal('http://localhost:9001') 73 expect(video.podUrl).to.equal('http://localhost:9001')
74 expect(video.magnetUri).to.exist 74 expect(video.magnetUri).to.exist
75 expect(video.author).to.equal('root')
76 expect(video.isLocal).to.be.true
75 77
76 video_id = video.id 78 video_id = video.id
77 79
@@ -97,6 +99,8 @@ describe('Test a single pod', function () {
97 expect(video.description).to.equal('my super description') 99 expect(video.description).to.equal('my super description')
98 expect(video.podUrl).to.equal('http://localhost:9001') 100 expect(video.podUrl).to.equal('http://localhost:9001')
99 expect(video.magnetUri).to.exist 101 expect(video.magnetUri).to.exist
102 expect(video.author).to.equal('root')
103 expect(video.isLocal).to.be.true
100 104
101 webtorrent.add(video.magnetUri, function (torrent) { 105 webtorrent.add(video.magnetUri, function (torrent) {
102 expect(torrent.files).to.exist 106 expect(torrent.files).to.exist
@@ -119,6 +123,8 @@ describe('Test a single pod', function () {
119 expect(video.name).to.equal('my super name') 123 expect(video.name).to.equal('my super name')
120 expect(video.description).to.equal('my super description') 124 expect(video.description).to.equal('my super description')
121 expect(video.podUrl).to.equal('http://localhost:9001') 125 expect(video.podUrl).to.equal('http://localhost:9001')
126 expect(video.author).to.equal('root')
127 expect(video.isLocal).to.be.true
122 128
123 done() 129 done()
124 }) 130 })