Skip to content

Commit

Permalink
Fix failing tests due to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroboron committed Apr 17, 2024
1 parent 2d175c4 commit 9d2cf2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ final class AddEditBookmarkFolderDialogViewModelTests: XCTestCase {
// THEN
XCTAssertFalse(bookmarkStoreMock.updateFolderCalled)
XCTAssertTrue(bookmarkStoreMock.saveFolderCalled)
XCTAssertEqual(bookmarkStoreMock.capturedFolder?.title, sut.folderName)
XCTAssertEqual(bookmarkStoreMock.capturedFolder?.title, #function)
XCTAssertEqual(bookmarkStoreMock.capturedParentFolder, folder)
}

Expand All @@ -346,7 +346,7 @@ final class AddEditBookmarkFolderDialogViewModelTests: XCTestCase {

// THEN
XCTAssertTrue(bookmarkStoreMock.updateFolderCalled)
XCTAssertEqual(bookmarkStoreMock.capturedFolder?.title, sut.folderName)
XCTAssertEqual(bookmarkStoreMock.capturedFolder?.title, "TEST")
}

func testShouldNotAskBookmarkStoreToUpdateFolderWhenNameIsNotChanged() {
Expand Down

0 comments on commit 9d2cf2e

Please sign in to comment.