diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-10 22:24:04 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-10 22:24:04 +0200 |
commit | 36d560246f1d53f1d1c41d789d93349118b3492d (patch) | |
tree | fac4a278d00b7f5a4e7dcca1dc445f41fd41da62 /server/tests/api/singlePod.js | |
parent | 9e5f374090ea0fb16f93edd79d5ad61a55db91e5 (diff) | |
download | PeerTube-36d560246f1d53f1d1c41d789d93349118b3492d.tar.gz PeerTube-36d560246f1d53f1d1c41d789d93349118b3492d.tar.zst PeerTube-36d560246f1d53f1d1c41d789d93349118b3492d.zip |
thumbnail_path -> thumbnailPath
Diffstat (limited to 'server/tests/api/singlePod.js')
-rw-r--r-- | server/tests/api/singlePod.js | 8 |
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) |