Skip to content

Commit

Permalink
Removed unnecessary unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stechiu committed Dec 17, 2024
1 parent 4fa49cf commit ae46697
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,6 @@ class BTShopperInsightsClient_Tests: XCTestCase {
sut.sendSelectedEvent(for: .venmo)
XCTAssertEqual(mockAPIClient.postedAnalyticsEvents.first, "shopper-insights:button-selected")
XCTAssertEqual(mockAPIClient.postedButtonType, "Venmo")
}

func testShopperInsightsClient_withSessionID_setSessionIDInMetadata() {
sut = BTShopperInsightsClient(apiClient: mockAPIClient, shopperSessionID: "123456")
XCTAssertEqual(mockAPIClient.metadata.sessionID, "123456")
XCTAssertEqual(mockAPIClient.postedAnalyticsEvents.first, "shopper-insights:button-selected")
XCTAssertEqual(mockAPIClient.postedShopperSessionID, "fake-shopper-session-id")
}

Expand Down

0 comments on commit ae46697

Please sign in to comment.