fixed localcache emoji layer test description (#13206)
Этот коммит содержится в:
коммит произвёл
Jesús Espino
родитель
a63684fcb5
Коммит
81cff677b1
@@ -80,7 +80,7 @@ func TestEmojiStoreCache(t *testing.T) {
|
|||||||
mockStore.Emoji().(*mocks.EmojiStore).AssertNumberOfCalls(t, "Get", 2)
|
mockStore.Emoji().(*mocks.EmojiStore).AssertNumberOfCalls(t, "Get", 2)
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("first call by id force no cached, second not cached, third cached", func(t *testing.T) {
|
t.Run("first call by name force no cached, second not cached, third cached", func(t *testing.T) {
|
||||||
mockStore := getMockStore()
|
mockStore := getMockStore()
|
||||||
cachedStore := NewLocalCacheLayer(mockStore, nil, nil)
|
cachedStore := NewLocalCacheLayer(mockStore, nil, nil)
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user