From 84109ce30ab0ac80479346080dfb00fdb25ac8c7 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Mon, 11 Jan 2021 09:06:25 +0100 Subject: [PATCH] Fix tests --- Tests/SentryTests/Protocol/SentryUserTests.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/SentryTests/Protocol/SentryUserTests.swift b/Tests/SentryTests/Protocol/SentryUserTests.swift index af7a4371fff..d9e9dced0d5 100644 --- a/Tests/SentryTests/Protocol/SentryUserTests.swift +++ b/Tests/SentryTests/Protocol/SentryUserTests.swift @@ -99,13 +99,14 @@ class SentryUserTests: XCTestCase { // Simulate some real world modifications of the user + user.userId = "\(i)" + // Trigger is equal - XCTAssertNotEqual(user, TestData.user) + user.isEqual(to: TestData.user) user.serialize() user.serialize() - user.userId = "\(i)" user.email = "john@example.com" user.username = "\(i)" user.ipAddress = "\(i)"