Skip to content

Commit c7bfa99

Browse files
Fix: Card presenter tests
1 parent 1c99095 commit c7bfa99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPress/WordPressTest/JetpackBrandingMenuCardPresenterTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ final class JetpackBrandingMenuCardPresenterTests: XCTestCase {
5656
let config = try XCTUnwrap(presenter.cardConfig())
5757

5858
// Then
59-
XCTAssertEqual(config.description, "Stats, Reader, Notifications and other features will soon move to the Jetpack mobile app.")
59+
XCTAssertEqual(config.description, "Stats, Reader, Notifications and other features will move to the Jetpack mobile app soon.")
6060
XCTAssertEqual(config.learnMoreButtonURL, "example.com")
6161
}
6262

@@ -95,7 +95,7 @@ final class JetpackBrandingMenuCardPresenterTests: XCTestCase {
9595

9696
func testRemindMeLaterTappedAndIntervalPassed() {
9797
// Given
98-
let secondsInSevenDays = TimeInterval(86_400 * 7)
98+
let secondsInSevenDays = TimeInterval(86_400 * 4)
9999
let currentDate = Date()
100100
let presenter = JetpackBrandingMenuCardPresenter(
101101
featureFlagStore: remoteFeatureFlagsStore,

0 commit comments

Comments
 (0)