Skip to content

Commit

Permalink
StoreKitConfigTestCase: also continueAfterFailure = false
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Jun 9, 2023
1 parent 4187316 commit 731c071
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/StoreKitUnitTests/StoreKitConfigTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class StoreKitConfigTestCase: TestCase {

try AvailabilityChecks.iOS14APIAvailableOrSkipTest()

// Avoid continuing with potentially bad data after a failed assertion
self.continueAfterFailure = false

self.testSession = try SKTestSession(configurationFileNamed: "UnitTestsConfiguration")
self.testSession.resetToDefaultState()
self.testSession.disableDialogs = true
Expand Down

0 comments on commit 731c071

Please sign in to comment.