mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
Fix: Unit tests
This commit is contained in:
@@ -88,7 +88,7 @@ class PillsFormatter: NSObject {
|
||||
return
|
||||
}
|
||||
|
||||
var pillString: String
|
||||
let pillString: String
|
||||
switch mode {
|
||||
case .displayname:
|
||||
pillString = data.displayText
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user