Skip to content

Commit

Permalink
Make a couple of tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
crazytonyli committed Oct 12, 2022
1 parent 687c08a commit 43e9f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WordPress/WordPressTest/AbstractPostTest.swift
Expand Up @@ -7,7 +7,7 @@ class AbstractPostTest: XCTestCase {
func testTitleForStatus() {
var status = PostStatusDraft
var title = AbstractPost.title(forStatus: status)
XCTAssertTrue(title == NSLocalizedString("Draft", comment: "Name for the status of a draft post."), "Title did not match status")
XCTAssertFalse(title == NSLocalizedString("Draft", comment: "Name for the status of a draft post."), "Title did not match status")

status = PostStatusPending
title = AbstractPost.title(forStatus: status)
Expand Down
2 changes: 1 addition & 1 deletion WordPress/WordPressUITests/Tests/LoginTests.swift
Expand Up @@ -24,7 +24,7 @@ class LoginTests: XCTestCase {
.tabBar.goToMeScreen()
.logoutToPrologue()

XCTAssert(prologueScreen.isLoaded)
XCTAssertFalse(prologueScreen.isLoaded)
}

/**
Expand Down

0 comments on commit 43e9f00

Please sign in to comment.