Tests: Drop unused my_application resource mock

Change-type: patch
This commit is contained in:
myarmolinsky 2024-10-24 13:45:24 -04:00
parent ec92f21b70
commit 593233a99f

View File

@ -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',