diff options
Diffstat (limited to 'server/tests/utils/clients.ts')
-rw-r--r-- | server/tests/utils/clients.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/server/tests/utils/clients.ts b/server/tests/utils/clients.ts deleted file mode 100644 index a8c5b51c5..000000000 --- a/server/tests/utils/clients.ts +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | import * as request from 'supertest' | ||
2 | |||
3 | function getClient (url: string) { | ||
4 | const path = '/api/v1/oauth-clients/local' | ||
5 | |||
6 | return request(url) | ||
7 | .get(path) | ||
8 | .set('Accept', 'application/json') | ||
9 | .expect(200) | ||
10 | .expect('Content-Type', /json/) | ||
11 | } | ||
12 | |||
13 | // --------------------------------------------------------------------------- | ||
14 | |||
15 | export { | ||
16 | getClient | ||
17 | } | ||