summaryrefslogtreecommitdiffstats
path: root/store/sql_emoji_store_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_emoji_store_test.go')
-rw-r--r--store/sql_emoji_store_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_emoji_store_test.go b/store/sql_emoji_store_test.go
index 09cdbeead..25e0f7916 100644
--- a/store/sql_emoji_store_test.go
+++ b/store/sql_emoji_store_test.go
@@ -126,7 +126,7 @@ func TestEmojiGetByName(t *testing.T) {
}
}
-func TestEmojiGetAll(t *testing.T) {
+func TestEmojiGetList(t *testing.T) {
Setup()
emojis := []model.Emoji{
@@ -153,7 +153,7 @@ func TestEmojiGetAll(t *testing.T) {
}
}()
- if result := <-store.Emoji().GetAll(); result.Err != nil {
+ if result := <-store.Emoji().GetList(0, 100); result.Err != nil {
t.Fatal(result.Err)
} else {
for _, emoji := range emojis {