diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/fixtures/avatar-resized.png | bin | 0 -> 2420 bytes | |||
-rw-r--r-- | server/tests/api/users/users.ts | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/fixtures/avatar-resized.png b/server/tests/api/fixtures/avatar-resized.png new file mode 100644 index 000000000..e05fc07ce --- /dev/null +++ b/server/tests/api/fixtures/avatar-resized.png | |||
Binary files differ | |||
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index 3390b2d56..f7e5972d3 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts | |||
@@ -352,7 +352,7 @@ describe('Test users', function () { | |||
352 | const res = await getMyUserInformation(server.url, accessTokenUser) | 352 | const res = await getMyUserInformation(server.url, accessTokenUser) |
353 | const user = res.body | 353 | const user = res.body |
354 | 354 | ||
355 | const test = await testVideoImage(server.url, 'avatar', user.account.avatar.path, '.png') | 355 | const test = await testVideoImage(server.url, 'avatar-resized', user.account.avatar.path, '.png') |
356 | expect(test).to.equal(true) | 356 | expect(test).to.equal(true) |
357 | }) | 357 | }) |
358 | 358 | ||