diff --git a/IntegrationTests/Configuration/ConfigurationManagerIntegrationTests.swift b/IntegrationTests/Configuration/ConfigurationManagerIntegrationTests.swift index dd8fca2118..f87f9cc2f1 100644 --- a/IntegrationTests/Configuration/ConfigurationManagerIntegrationTests.swift +++ b/IntegrationTests/Configuration/ConfigurationManagerIntegrationTests.swift @@ -54,7 +54,7 @@ final class ConfigurationManagerIntegrationTests: XCTestCase { await configManager.fetchAndUpdateTrackerBlockingDependencies() // THEN - var newEtag = ContentBlocking.shared.trackerDataManager.fetchedData?.etag + let newEtag = ContentBlocking.shared.trackerDataManager.fetchedData?.etag XCTAssertNotEqual(etag, newEtag) XCTAssertEqual(newEtag, "\"2ce60c57c3d384f986ccbe2c422aac44\"") @@ -62,8 +62,8 @@ final class ConfigurationManagerIntegrationTests: XCTestCase { customURLProvider.customPrivacyConfigurationURL = URL.privacyConfig Configuration.setURLProvider(customURLProvider) await configManager.fetchAndUpdateTrackerBlockingDependencies() - newEtag = ContentBlocking.shared.trackerDataManager.fetchedData?.etag - XCTAssertEqual(etag, newEtag) + let resetEtag = ContentBlocking.shared.trackerDataManager.fetchedData?.etag + XCTAssertNotEqual(newEtag, resetEtag) } }