aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/users/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/users/users.ts')
-rw-r--r--server/tests/utils/users/users.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/utils/users/users.ts b/server/tests/utils/users/users.ts
index 9e33e6796..3c9d46246 100644
--- a/server/tests/utils/users/users.ts
+++ b/server/tests/utils/users/users.ts
@@ -1,6 +1,6 @@
1import { isAbsolute, join } from 'path' 1import { isAbsolute, join } from 'path'
2import * as request from 'supertest' 2import * as request from 'supertest'
3import { makePostBodyRequest, makePostUploadRequest, makePutBodyRequest } from '../' 3import { makePostBodyRequest, makeUploadRequest, makePutBodyRequest } from '../'
4 4
5import { UserRole } from '../../../../shared/index' 5import { UserRole } from '../../../../shared/index'
6 6
@@ -162,7 +162,7 @@ function updateMyAvatar (options: {
162 filePath = join(__dirname, '..', '..', 'api', 'fixtures', options.fixture) 162 filePath = join(__dirname, '..', '..', 'api', 'fixtures', options.fixture)
163 } 163 }
164 164
165 return makePostUploadRequest({ 165 return makeUploadRequest({
166 url: options.url, 166 url: options.url,
167 path, 167 path,
168 token: options.accessToken, 168 token: options.accessToken,