mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-15 07:06:11 +00:00
Fix tests that were broken after localization integration (#677)
This commit is contained in:
parent
56dd12f3b1
commit
0ae09f73d8
@ -21,7 +21,7 @@ final class LocationNotesManagerTests: XCTestCase {
|
||||
XCTAssertFalse(subscribeCalled)
|
||||
XCTAssertEqual(manager.state, .noRelays)
|
||||
XCTAssertTrue(manager.initialLoadComplete)
|
||||
XCTAssertEqual(manager.errorMessage, "No geo relays available near this location. Try again soon.")
|
||||
XCTAssertEqual(manager.errorMessage, "no geo relays available near this location. try again soon.")
|
||||
}
|
||||
|
||||
func testSendWhenNoRelaysSurfacesError() {
|
||||
@ -40,7 +40,7 @@ final class LocationNotesManagerTests: XCTestCase {
|
||||
|
||||
XCTAssertFalse(sendCalled)
|
||||
XCTAssertEqual(manager.state, .noRelays)
|
||||
XCTAssertEqual(manager.errorMessage, "No geo relays available near this location. Try again soon.")
|
||||
XCTAssertEqual(manager.errorMessage, "no geo relays available near this location. try again soon.")
|
||||
}
|
||||
|
||||
func testSubscribeUsesGeoRelaysAndAppendsNotes() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user