Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeriu Popa committed Nov 13, 2023
1 parent 1a0e4ba commit 93f92d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ - (void)testCdbCallContainsUserInfo {
CR_ApiQueryKeys.userAgent : self.deviceInfoMock.userAgent,
CR_ApiQueryKeys.uspIab : CR_DataProtectionConsentMockDefaultUsPrivacyIabConsentString,
CR_ApiQueryKeys.skAdNetwork : @{
CR_ApiQueryKeys.skAdNetworkVersion : @"2.0",
CR_ApiQueryKeys.skAdNetworkVersion : @[ @"2.0", @"2.1", @"2.2" ],
CR_ApiQueryKeys.skAdNetworkIds : @[ @"hs6bdukanm.skadnetwork" ]
}
};
Expand All @@ -337,7 +337,7 @@ - (void)testCdbCallContainsUserInfoWithAuthorizationStatus {
CR_ApiQueryKeys.userAgent : self.deviceInfoMock.userAgent,
CR_ApiQueryKeys.uspIab : CR_DataProtectionConsentMockDefaultUsPrivacyIabConsentString,
CR_ApiQueryKeys.skAdNetwork : @{
CR_ApiQueryKeys.skAdNetworkVersion : @"2.0",
CR_ApiQueryKeys.skAdNetworkVersion : @[ @"2.0", @"2.1", @"2.2" ],
CR_ApiQueryKeys.skAdNetworkIds : @[ @"hs6bdukanm.skadnetwork" ]
},
CR_ApiQueryKeys.trackingAuthorizationStatus : @"3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class CR_BidRequestSerializerSwiftTests: XCTestCase {
XCTAssertEqual(user?["ext"] as? NSDictionary, NSDictionary())
XCTAssertEqual(
user?["skAdNetwork"] as? NSDictionary,
["version": "2.0", "skAdNetworkIds": ["hs6bdukanm.skadnetwork"]] as? NSDictionary)
["versions": ["2.0", "2.1", "2.2"], "skAdNetworkIds": ["hs6bdukanm.skadnetwork"]] as? NSDictionary)
}

func testBodyWithUsPrivacyConsentString() {
Expand Down

0 comments on commit 93f92d2

Please sign in to comment.