Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atfinke committed Mar 28, 2019
1 parent fa9a63e commit f4b7fbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions WKRKit/WKRKit/Constants/WKRKitConstants-TESTING_ONLY.plist
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@
<integer>2</integer>
<key>BonusPointsInterval</key>
<integer>120</integer>
<key>MaxGlobalRacePlayers</key>
<integer>4</integer>
<key>MaxLocalRacePlayers</key>
<integer>8</integer>
</dict>
</plist>
2 changes: 1 addition & 1 deletion WKRKit/WKRKitTests/WKRKitTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class WKRKitTestCase: XCTestCase {
override func setUp() {
super.setUp()
WKRKitConstants.updateConstants()
let expectedVersion = 18
let expectedVersion = 20
XCTAssertEqual(WKRKitConstants.current.version,
expectedVersion,
"Installed WKRKitConstants not version \(expectedVersion)")
Expand Down
2 changes: 1 addition & 1 deletion WKRKit/WKRKitTests/WKRKitTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class WKRKitTests: WKRKitTestCase {
WKRKitConstants.updateConstants()

let version = WKRKitConstants.current.version
XCTAssertEqual(WKRKitConstants.current.version, 18)
XCTAssertEqual(WKRKitConstants.current.version, 20)

WKRKitConstants.removeConstants()
WKRKitConstants.updateConstants()
Expand Down

0 comments on commit f4b7fbc

Please sign in to comment.