Fix tests that were broken after localization integration (#677)

This commit is contained in:
Islam 2025-09-25 18:34:08 +01:00 committed by GitHub
parent 56dd12f3b1
commit 0ae09f73d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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() {