Skip to content

Commit 7355d13

Browse files
chore(api key test): skip if failed (#835)
1 parent 4fe2f0b commit 7355d13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/AlgoliaSearchClientTests/Integration/APIKeysIntegrationTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ class APIKeysIntegrationTests: IntegrationTestCase {
7575
try checkKey(exists: true)
7676

7777
guard let addedKeyResponse = keyResponseContainer else {
78-
XCTFail("Key fetch failed")
79-
return
78+
throw XCTSkip("Key fetch failed")
8079
}
8180
keyResponseContainer = nil
8281

0 commit comments

Comments
 (0)