Update tests

This commit is contained in:
Matthieu 2020-04-02 20:22:48 +02:00
parent ba8980652c
commit 5f349e1cfd
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@ class PostUnitTest {
fun getDescriptionReturnsACorrectDesc() = Assert.assertEquals(status.content, status.getDescription())
@Test
fun getUsernameReturnsACorrectName() = Assert.assertEquals(status.account.username, status.getUsername())
fun getUsernameReturnsACorrectName() = Assert.assertEquals(status.account.display_name, status.getUsername())
@Test
fun getUsernameReturnsOtherNameIfUsernameIsNull() {