Skip to content

Commit

Permalink
Merge pull request #24 from hyperwallet/feature/DTSERWONE-1985-update…
Browse files Browse the repository at this point in the history
…-privacy-manifest

[DTSERWONE-1985] update privacy manifest
  • Loading branch information
grmeyer-hw-dev committed Mar 12, 2024
2 parents e4626d2 + 6819682 commit 78a346f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion PrivacyInfo.xcprivacy
Expand Up @@ -13,7 +13,7 @@
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
Expand Down
12 changes: 6 additions & 6 deletions Tests/InsightsTests.swift
Expand Up @@ -48,7 +48,7 @@ final class InsightsTests: XCTestCase {
pageGroup: pageGroup,
link: link,
params: [:])
sleep(4)
sleep(16)

let events = EventManager.shared.loadEvents(before: Date().epochMilliseconds())
XCTAssertEqual(events.count, 1, "There should be 1 record in database")
Expand All @@ -67,7 +67,7 @@ final class InsightsTests: XCTestCase {
params: [:])
}

sleep(4)
sleep(16)

let events = EventManager.shared.loadEvents(before: Date().epochMilliseconds())
XCTAssertEqual(events.count, 2, "There should be 2 Impression events in the storage")
Expand All @@ -90,7 +90,7 @@ final class InsightsTests: XCTestCase {
errorInfo: errorInfo)
}

sleep(4)
sleep(16)

let events = EventManager.shared.loadEvents(before: Date().epochMilliseconds())
XCTAssertEqual(events.count, 3, "There should be 3 Error events in the storage")
Expand All @@ -107,7 +107,7 @@ final class InsightsTests: XCTestCase {
link: "test_link",
params: [:])
}
sleep(4)
sleep(16)

let countAfterSave = EventManager.shared.getEventsCount()
XCTAssertEqual(countAfterSave, 5, "There should be 5 Click events in the storage")
Expand All @@ -127,11 +127,11 @@ final class InsightsTests: XCTestCase {
params: [:])
if eventNumber == 10 {
// wait 1 second to separate other events (createdOn)
sleep(4)
sleep(16)
}
}

sleep(4)
sleep(16)

let countAfterSave = EventManager.shared.getEventsCount()
XCTAssertEqual(countAfterSave, 15, "There should be 15 Click events in the storage")
Expand Down

0 comments on commit 78a346f

Please sign in to comment.