Fix: Unit tests

This commit is contained in:
Nicolas Mauri
2023-03-21 14:17:52 +01:00
parent 4f2020b680
commit 3f68748bd5
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ class PillsFormatter: NSObject {
return
}
var pillString: String
let pillString: String
switch mode {
case .displayname:
pillString = data.displayText

View File

@@ -423,7 +423,7 @@
}
}];
XCTAssertEqual(hasLink, false, @"There should be no link in this case. We let the UI manage the link");
XCTAssertEqual(hasLink, true, @"There should be a link, so that a Pill can be rendered for this permalink.");
}
#pragma mark - Event sender/target info