Skip to content

Commit 7c6a32a

Browse files
chore: fix analytics integration test (#4189)
Co-authored-by: Harsh <6162866+harsh62@users.noreply.github.com>
1 parent 85957a3 commit 7c6a32a

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

AmplifyPlugins/Analytics/Tests/AnalyticsHostApp/AWSPinpointAnalyticsPluginIntegrationTests/AWSPinpointAnalyticsPluginIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class AWSPinpointAnalyticsPluginIntergrationTests: XCTestCase {
5050
/// When: identifyUser api is called
5151
/// Then: IdentifyUser Hub event is received
5252
func testIdentifyUser() async throws {
53-
let userId = "userId"
53+
let userId = "integTest\(UUID().uuidString)"
5454
let identifyUserEvent = expectation(description: "Identify User event was received on the hub plugin")
5555
_ = Amplify.Hub.listen(to: .analytics, isIncluded: nil) { payload in
5656
if payload.eventName == HubPayload.EventName.Analytics.identifyUser {

Package.resolved

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)