From 686881c51c78beeedbf1ab59d3321eb8b2c6b27a Mon Sep 17 00:00:00 2001 From: Shane Osbourne Date: Tue, 14 Nov 2023 08:26:05 +0000 Subject: [PATCH] Updating tests to support latest reference tests (#2145) Co-authored-by: Shane Osbourne Co-authored-by: Dominik Kapusta --- DuckDuckGoTests/BrokenSiteReportingTests.swift | 3 ++- submodules/privacy-reference-tests | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DuckDuckGoTests/BrokenSiteReportingTests.swift b/DuckDuckGoTests/BrokenSiteReportingTests.swift index e65fb7f268..6c663fda98 100644 --- a/DuckDuckGoTests/BrokenSiteReportingTests.swift +++ b/DuckDuckGoTests/BrokenSiteReportingTests.swift @@ -75,7 +75,7 @@ final class BrokenSiteReportingTests: XCTestCase { tdsETag: test.blocklistVersion, ampUrl: nil, urlParametersRemoved: false, - protectionsState: true, + protectionsState: test.protectionsEnabled, model: test.model ?? "", manufacturer: test.manufacturer ?? "", systemVersion: test.os ?? "", @@ -148,6 +148,7 @@ private struct Test: Codable { let exceptPlatforms: [String] let manufacturer, model, os: String? let gpcEnabled: Bool? + let protectionsEnabled: Bool } // MARK: - ExpectReportURLParam diff --git a/submodules/privacy-reference-tests b/submodules/privacy-reference-tests index 7519c3d430..a3acc21947 160000 --- a/submodules/privacy-reference-tests +++ b/submodules/privacy-reference-tests @@ -1 +1 @@ -Subproject commit 7519c3d430e5dcef75b6128bfdadb0de3f463a49 +Subproject commit a3acc2194758bec0f01f57dd0c5f106de01a354e