Update test.
This commit is contained in:
parent
0bf4b80163
commit
65b6b6b4aa
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
* Please see LICENSE files in the repository root for full details.
|
* Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package io.element.android.libraries.matrix.impl.usersearch
|
package io.element.android.libraries.matrix.impl.mapper
|
||||||
|
|
||||||
import com.google.common.truth.Truth.assertThat
|
import com.google.common.truth.Truth.assertThat
|
||||||
import io.element.android.libraries.matrix.api.user.MatrixUser
|
import io.element.android.libraries.matrix.api.user.MatrixUser
|
||||||
|
|
@ -16,7 +16,7 @@ import org.junit.Test
|
||||||
class UserProfileMapperTest {
|
class UserProfileMapperTest {
|
||||||
@Test
|
@Test
|
||||||
fun map() {
|
fun map() {
|
||||||
assertThat(UserProfileMapper.map(aRustUserProfile(A_USER_ID.value, "displayName", "avatarUrl")))
|
assertThat(aRustUserProfile(A_USER_ID.value, "displayName", "avatarUrl").map())
|
||||||
.isEqualTo(MatrixUser(A_USER_ID, "displayName", "avatarUrl"))
|
.isEqualTo(MatrixUser(A_USER_ID, "displayName", "avatarUrl"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue