mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Tests: Drop unused my_application
resource mock
Change-type: patch
This commit is contained in:
parent
ec92f21b70
commit
593233a99f
@ -86,16 +86,6 @@ export class BalenaAPIMock extends NockMock {
|
||||
this.optPost(/^\/api-key\/v[0-9]\/?$/, opts).reply(200, 'dummykey');
|
||||
}
|
||||
|
||||
public expectGetMyApplication(opts: ScopeOpts = {}) {
|
||||
this.optGet(/^\/v7\/my_application($|[(?])/, opts).reply(
|
||||
200,
|
||||
JSON.parse(`{"d": [{
|
||||
"organization": [{ "handle": "bob" }],
|
||||
"id": 1301645}]}
|
||||
`),
|
||||
);
|
||||
}
|
||||
|
||||
public expectGetAuth(opts: ScopeOpts = {}) {
|
||||
this.optGet(/^\/auth\/v1\//, opts).reply(200, {
|
||||
token: 'test',
|
||||
|
Loading…
Reference in New Issue
Block a user