diff --git a/ts/test/session/integration/stubs/stub_app_dot_net_api.ts b/ts/test/session/integration/stubs/stub_app_dot_net_api.ts index ca6d796cd..cce40b973 100644 --- a/ts/test/session/integration/stubs/stub_app_dot_net_api.ts +++ b/ts/test/session/integration/stubs/stub_app_dot_net_api.ts @@ -122,6 +122,19 @@ class StubAppDotNetAPI extends LokiAppDotNetServerAPI { }, }; } + if ( + endpoint === 'files' + ) { + return { + statusCode: 200, + response: { + data: { + url: 'fakeurl', + id: 12345, + }, + }, + }; + } if (endpoint === 'channels/1') { let name = 'Unknown group';