aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-24 16:24:50 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-25 10:07:51 +0100
commit33ff70baa64c6315856066682595878a27b7ed8c (patch)
treeba2dd521d5a051cbb0501fc78cb9193363563823 /server/tests/api/videos
parentca5c612bfdd225433bcc6ace01c8024df3f674ba (diff)
downloadPeerTube-33ff70baa64c6315856066682595878a27b7ed8c.tar.gz
PeerTube-33ff70baa64c6315856066682595878a27b7ed8c.tar.zst
PeerTube-33ff70baa64c6315856066682595878a27b7ed8c.zip
Fix audio encoding params
Diffstat (limited to 'server/tests/api/videos')
-rw-r--r--server/tests/api/videos/multiple-servers.ts8
-rw-r--r--server/tests/api/videos/single-server.ts2
2 files changed, 6 insertions, 4 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts
index a62783639..fdd5e33f3 100644
--- a/server/tests/api/videos/multiple-servers.ts
+++ b/server/tests/api/videos/multiple-servers.ts
@@ -216,19 +216,19 @@ describe('Test multiple servers', function () {
216 files: [ 216 files: [
217 { 217 {
218 resolution: 240, 218 resolution: 240,
219 size: 189000 219 size: 270000
220 }, 220 },
221 { 221 {
222 resolution: 360, 222 resolution: 360,
223 size: 278000 223 size: 359000
224 }, 224 },
225 { 225 {
226 resolution: 480, 226 resolution: 480,
227 size: 384000 227 size: 465000
228 }, 228 },
229 { 229 {
230 resolution: 720, 230 resolution: 720,
231 size: 706000 231 size: 788000
232 } 232 }
233 ], 233 ],
234 thumbnailfile: 'thumbnail', 234 thumbnailfile: 'thumbnail',
diff --git a/server/tests/api/videos/single-server.ts b/server/tests/api/videos/single-server.ts
index 0ae405950..b74bc3e80 100644
--- a/server/tests/api/videos/single-server.ts
+++ b/server/tests/api/videos/single-server.ts
@@ -157,6 +157,8 @@ describe('Test a single server', function () {
157 }) 157 })
158 158
159 it('Should upload the video', async function () { 159 it('Should upload the video', async function () {
160 this.timeout(10000)
161
160 const videoAttributes = { 162 const videoAttributes = {
161 name: 'my super name', 163 name: 'my super name',
162 category: 2, 164 category: 2,