Update tests
This commit is contained in:
parent
ba8980652c
commit
5f349e1cfd
File diff suppressed because one or more lines are too long
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue