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.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/singlePod.js b/server/tests/api/singlePod.js
index 9a9af0901..e8b578770 100644
--- a/server/tests/api/singlePod.js
+++ b/server/tests/api/singlePod.js
@@ -76,7 +76,7 @@ describe('Test a single pod', function () {
76 expect(video.author).to.equal('root') 76 expect(video.author).to.equal('root')
77 expect(video.isLocal).to.be.true 77 expect(video.isLocal).to.be.true
78 78
79 utils.testImage(server.url, 'video_short.webm', video.thumbnail_path, function (err, test) { 79 utils.testImage(server.url, 'video_short.webm', video.thumbnailPath, function (err, test) {
80 if (err) throw err 80 if (err) throw err
81 expect(test).to.equal(true) 81 expect(test).to.equal(true)
82 82
@@ -108,7 +108,7 @@ describe('Test a single pod', function () {
108 expect(video.author).to.equal('root') 108 expect(video.author).to.equal('root')
109 expect(video.isLocal).to.be.true 109 expect(video.isLocal).to.be.true
110 110
111 utils.testImage(server.url, 'video_short.webm', video.thumbnail_path, function (err, test) { 111 utils.testImage(server.url, 'video_short.webm', video.thumbnailPath, function (err, test) {
112 if (err) throw err 112 if (err) throw err
113 expect(test).to.equal(true) 113 expect(test).to.equal(true)
114 114
@@ -137,7 +137,7 @@ describe('Test a single pod', function () {
137 expect(video.author).to.equal('root') 137 expect(video.author).to.equal('root')
138 expect(video.isLocal).to.be.true 138 expect(video.isLocal).to.be.true
139 139
140 utils.testImage(server.url, 'video_short.webm', video.thumbnail_path, function (err, test) { 140 utils.testImage(server.url, 'video_short.webm', video.thumbnailPath, function (err, test) {
141 if (err) throw err 141 if (err) throw err
142 expect(test).to.equal(true) 142 expect(test).to.equal(true)
143 143
@@ -220,7 +220,7 @@ describe('Test a single pod', function () {
220 if (err) throw err 220 if (err) throw err
221 const video_name = video.name.replace(' name', '') 221 const video_name = video.name.replace(' name', '')
222 222
223 utils.testImage(server.url, video_name, video.thumbnail_path, function (err, test) { 223 utils.testImage(server.url, video_name, video.thumbnailPath, function (err, test) {
224 if (err) throw err 224 if (err) throw err
225 225
226 expect(test).to.equal(true) 226 expect(test).to.equal(true)