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())
|
fun getDescriptionReturnsACorrectDesc() = Assert.assertEquals(status.content, status.getDescription())
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun getUsernameReturnsACorrectName() = Assert.assertEquals(status.account.username, status.getUsername())
|
fun getUsernameReturnsACorrectName() = Assert.assertEquals(status.account.display_name, status.getUsername())
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun getUsernameReturnsOtherNameIfUsernameIsNull() {
|
fun getUsernameReturnsOtherNameIfUsernameIsNull() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user