From 54dd72cf813cc2d5d4a7e3f26b07950693359f8d Mon Sep 17 00:00:00 2001 From: llbartekll Date: Wed, 18 Sep 2024 14:39:13 +0200 Subject: [PATCH] update --- Tests/RelayerTests/AutomaticSocketConnectionHandlerTests.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/RelayerTests/AutomaticSocketConnectionHandlerTests.swift b/Tests/RelayerTests/AutomaticSocketConnectionHandlerTests.swift index dc8459b5..58f07b70 100644 --- a/Tests/RelayerTests/AutomaticSocketConnectionHandlerTests.swift +++ b/Tests/RelayerTests/AutomaticSocketConnectionHandlerTests.swift @@ -19,7 +19,6 @@ final class AutomaticSocketConnectionHandlerTests: XCTestCase { let defaults = RuntimeKeyValueStorage() let logger = ConsoleLoggerMock() let keychainStorageMock = DispatcherKeychainStorageMock() - let clientIdStorage = ClientIdStorage(defaults: defaults, keychain: keychainStorageMock, logger: logger) backgroundTaskRegistrar = BackgroundTaskRegistrarMock() subscriptionsTracker = SubscriptionsTrackerMock() @@ -120,7 +119,7 @@ final class AutomaticSocketConnectionHandlerTests: XCTestCase { webSocketSession.disconnect() await sut.handleDisconnection() - wait(for: [expectation], timeout: 5.0) + await fulfillment(of: [expectation], timeout: 5.0) XCTAssertTrue(webSocketSession.isConnected) }