Merge pull request #6870 from vector-im/bugfix/fre/fix_emoji_unit_test
Fix broken unit test on emoji search
This commit is contained in:
commit
0dcab56e34
|
@ -76,7 +76,7 @@ class EmojiDataSourceTest : InstrumentedTest {
|
||||||
fun searchTestOneResult() {
|
fun searchTestOneResult() {
|
||||||
val emojiDataSource = createEmojiDataSource()
|
val emojiDataSource = createEmojiDataSource()
|
||||||
val result = runBlocking {
|
val result = runBlocking {
|
||||||
emojiDataSource.filterWith("france")
|
emojiDataSource.filterWith("flag-france")
|
||||||
}
|
}
|
||||||
assertEquals("Should have 1 result", 1, result.size)
|
assertEquals("Should have 1 result", 1, result.size)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue