Skip to content

Commit bd5c7cb

Browse files
committed
Fix tests
1 parent 03485de commit bd5c7cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/GateEngineTests/_GateEngineXCTestCase.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ open class GateEngineXCTestCase: XCTestCase {
4848
}
4949

5050
@MainActor open override func setUp() async throws {
51-
guard Game.shared == nil else { return }
51+
guard Game._shared == nil else { return }
5252

5353
let delegate = TestGameDelegate()
5454
let platform = CurrentPlatform(delegate: delegate)
55-
Game.shared = Game(delegate: delegate, currentPlatform: platform)
55+
Game._shared = Game(delegate: delegate, currentPlatform: platform)
5656

5757
await Game.shared.didFinishLaunching()
5858

Tests/GravityTests/_GravityXCTestCase.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ open class GravityXCTestCase: XCTestCase {
7272
}
7373

7474
@MainActor open override func setUp() async throws {
75-
guard Game.shared == nil else { return }
75+
guard Game._shared == nil else { return }
7676

7777
let delegate = TestGameDelegate()
7878
let platform = CurrentPlatform(delegate: delegate)
79-
Game.shared = Game(delegate: delegate, currentPlatform: platform)
79+
Game._shared = Game(delegate: delegate, currentPlatform: platform)
8080

8181
await Game.shared.didFinishLaunching()
8282

0 commit comments

Comments
 (0)