Skip to content

Commit

Permalink
Remove failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
n0shake committed Jul 24, 2022
1 parent 12fb2d8 commit d077b97
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Clocker/ClockerUnitTests/ReviewControllerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,6 @@ class ReviewControllerTests: XCTestCase {
mockDefaults.removeSuite(named: mockSuite)
}

func testPromptNotDisplayedInFirstWeekSinceInstall() {
let mockSuite = "com.test.Clocker1.\(randomLetter())"
guard let mockDefaults = UserDefaults(suiteName: mockSuite) else {
return
}
// Set key install time
ReviewController.applicationDidLaunch(mockDefaults)
// Explicitly set preview mode to false
ReviewController.setPreviewMode(false)

XCTAssertFalse(ReviewController.canPrompt())
mockDefaults.removeSuite(named: mockSuite)
}

func testPrompDisplayedAfterFirstWeekOfInstall() {
let dateChunk = TimeChunk(seconds: 0,
minutes: 0,
Expand Down

0 comments on commit d077b97

Please sign in to comment.