From 85c29992e5554b2a57f20320763a654e9cb4b9bc Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 29 Nov 2021 15:45:44 +0100 Subject: [PATCH] refactor(llc): rename deprecated tests --- .../core/http/stream_http_client_test.dart | 21 ------------------- 1 file changed, 21 deletions(-) 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 {