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:
Florian Renaud 2022-08-18 11:36:28 +02:00 committed by GitHub
commit 0dcab56e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }