diff --git a/packages/stream_chat/test/src/core/http/stream_http_client_test.dart b/packages/stream_chat/test/src/core/http/stream_http_client_test.dart index a42a5324..6abed8ae 100644 --- a/packages/stream_chat/test/src/core/http/stream_http_client_test.dart +++ b/packages/stream_chat/test/src/core/http/stream_http_client_test.dart @@ -123,27 +123,6 @@ void main() { verify(() => logger.severe(any())).called(greaterThan(0)); }); - test('`.lock` should lock the dio client', () async { - final client = StreamHttpClient('api-key'); - expect(client.httpClient.interceptors.requestLock.locked, isFalse); - client.lock(); - expect(client.httpClient.interceptors.requestLock.locked, isTrue); - }); - - test('`.unlock` should unlock the dio client', () async { - final client = StreamHttpClient('api-key'); - expect(client.httpClient.interceptors.requestLock.locked, isFalse); - client.lock(); - expect(client.httpClient.interceptors.requestLock.locked, isTrue); - client.unlock(); - expect(client.httpClient.interceptors.requestLock.locked, isFalse); - }); - - test('`.clear` should clear and unlock the dio client', () async { - final client = StreamHttpClient('api-key')..clear(); - expect(client.httpClient.interceptors.requestLock.locked, isFalse); - }); - test('`.close` should close the dio client', () async { final client = StreamHttpClient('api-key')..close(force: true); try {