1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Fix unit tests

This commit is contained in:
José Rebelo 2023-11-25 23:08:02 +00:00
parent 34039094c1
commit 096358c76f
2 changed files with 4 additions and 4 deletions

View File

@ -53,9 +53,9 @@ public class XiaomiActivityFileIdTest {
assertEquals(1697182497000L, expectedFileId.getTimestamp().getTime());
assertEquals(4, expectedFileId.getTimezone());
assertEquals(3, expectedFileId.getVersion());
assertEquals(1, expectedFileId.getType());
assertEquals(8, expectedFileId.getSubtype());
assertEquals(0, expectedFileId.getDetailType());
assertEquals(XiaomiActivityFileId.Type.SPORTS, expectedFileId.getType());
assertEquals(XiaomiActivityFileId.Subtype.SPORTS_FREESTYLE, expectedFileId.getSubtype());
assertEquals(XiaomiActivityFileId.DetailType.DETAILS, expectedFileId.getDetailType());
}
@Test

View File

@ -195,7 +195,7 @@ public class LanguageUtilsTest extends TestBase {
String input = "á é í ó ö ő ü ű";
String output = transliterator.transliterate(input);
String expected = "a e i o o u u";
String expected = "a e i o o o u u";
assertEquals("hungarian transliteration failed", expected, output);
}