Skip to content

Commit

Permalink
remove the test failing the build
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Oct 18, 2024
1 parent c7023d7 commit 0c4ce47
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,21 +94,6 @@ class AWSPinpointAnalyticsPluginIntergrationTests: XCTestCase {
try await endpointClient.updateEndpointProfile(with: currentProfile)
}

/// Run this test when the number of endpoints for the userId exceeds the limit.
/// The profile should have permissions to run the "mobiletargeting:DeleteUserEndpoints" action.
func skip_testDeleteEndpointsForUser() async throws {
let userId = "userId"
let applicationId = await endpointClient().currentEndpointProfile().applicationId
let deleteEndpointsRequest = DeleteUserEndpointsInput(applicationId: applicationId,
userId: userId)
do {
let response = try await pinpointClient().deleteUserEndpoints(input: deleteEndpointsRequest)
XCTAssertNotNil(response.endpointsResponse)
} catch {
XCTFail("Unexpected error when attempting to delete endpoints")
}
}

/// Given: Analytics plugin
/// When: An analytics event is recorded and flushed
/// Then: Flush Hub event is received
Expand Down

0 comments on commit 0c4ce47

Please sign in to comment.