diff --git a/store/localcachelayer/channel_layer_test.go b/store/localcachelayer/channel_layer_test.go index 35dd08b6b20..ebe69e953bf 100644 --- a/store/localcachelayer/channel_layer_test.go +++ b/store/localcachelayer/channel_layer_test.go @@ -34,7 +34,7 @@ func TestChannelStoreChannelMemberCountsCache(t *testing.T) { mockStore.Channel().(*mocks.ChannelStore).AssertNumberOfCalls(t, "GetMemberCount", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -44,7 +44,7 @@ func TestChannelStoreChannelMemberCountsCache(t *testing.T) { mockStore.Channel().(*mocks.ChannelStore).AssertNumberOfCalls(t, "GetMemberCount", 2) }) - t.Run("first call force no cached, second not cached, third cached", func(t *testing.T) { + t.Run("first call force not cached, second not cached, third cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -108,7 +108,7 @@ func TestChannelStoreChannelPinnedPostsCountsCache(t *testing.T) { mockStore.Channel().(*mocks.ChannelStore).AssertNumberOfCalls(t, "GetPinnedPostCount", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -118,7 +118,7 @@ func TestChannelStoreChannelPinnedPostsCountsCache(t *testing.T) { mockStore.Channel().(*mocks.ChannelStore).AssertNumberOfCalls(t, "GetPinnedPostCount", 2) }) - t.Run("first call force no cached, second not cached, third cached", func(t *testing.T) { + t.Run("first call force not cached, second not cached, third cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -170,7 +170,7 @@ func TestChannelStoreGuestCountCache(t *testing.T) { mockStore.Channel().(*mocks.ChannelStore).AssertNumberOfCalls(t, "GetGuestCount", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -180,7 +180,7 @@ func TestChannelStoreGuestCountCache(t *testing.T) { mockStore.Channel().(*mocks.ChannelStore).AssertNumberOfCalls(t, "GetGuestCount", 2) }) - t.Run("first call force no cached, second not cached, third cached", func(t *testing.T) { + t.Run("first call force not cached, second not cached, third cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) diff --git a/store/localcachelayer/emoji_layer_test.go b/store/localcachelayer/emoji_layer_test.go index 6b4a42ca86e..be7044367ea 100644 --- a/store/localcachelayer/emoji_layer_test.go +++ b/store/localcachelayer/emoji_layer_test.go @@ -48,7 +48,7 @@ func TestEmojiStoreCache(t *testing.T) { mockStore.Emoji().(*mocks.EmojiStore).AssertNumberOfCalls(t, "GetByName", 1) }) - t.Run("first call by id not cached, second force no cached", func(t *testing.T) { + t.Run("first call by id not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -58,7 +58,7 @@ func TestEmojiStoreCache(t *testing.T) { mockStore.Emoji().(*mocks.EmojiStore).AssertNumberOfCalls(t, "Get", 2) }) - t.Run("first call by name not cached, second force no cached", func(t *testing.T) { + t.Run("first call by name not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -68,7 +68,7 @@ func TestEmojiStoreCache(t *testing.T) { mockStore.Emoji().(*mocks.EmojiStore).AssertNumberOfCalls(t, "GetByName", 2) }) - t.Run("first call by id force no cached, second not cached, third cached", func(t *testing.T) { + t.Run("first call by id force not cached, second not cached, third cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) @@ -80,7 +80,7 @@ func TestEmojiStoreCache(t *testing.T) { mockStore.Emoji().(*mocks.EmojiStore).AssertNumberOfCalls(t, "Get", 2) }) - t.Run("first call by name force no cached, second not cached, third cached", func(t *testing.T) { + t.Run("first call by name force not cached, second not cached, third cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) diff --git a/store/localcachelayer/post_layer_test.go b/store/localcachelayer/post_layer_test.go index cda5b128985..a58f73b6ee2 100644 --- a/store/localcachelayer/post_layer_test.go +++ b/store/localcachelayer/post_layer_test.go @@ -141,7 +141,7 @@ func TestPostStoreCache(t *testing.T) { mockStore.Post().(*mocks.PostStore).AssertNumberOfCalls(t, "GetPosts", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) diff --git a/store/localcachelayer/reaction_layer_test.go b/store/localcachelayer/reaction_layer_test.go index 2fd578ddce4..264da646bc4 100644 --- a/store/localcachelayer/reaction_layer_test.go +++ b/store/localcachelayer/reaction_layer_test.go @@ -34,7 +34,7 @@ func TestReactionStoreCache(t *testing.T) { mockStore.Reaction().(*mocks.ReactionStore).AssertNumberOfCalls(t, "GetForPost", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) diff --git a/store/localcachelayer/team_layer_test.go b/store/localcachelayer/team_layer_test.go index 25a39d775c4..47f4654c7a9 100644 --- a/store/localcachelayer/team_layer_test.go +++ b/store/localcachelayer/team_layer_test.go @@ -35,7 +35,7 @@ func TestTeamStoreCache(t *testing.T) { mockStore.Team().(*mocks.TeamStore).AssertNumberOfCalls(t, "GetUserTeamIds", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) diff --git a/store/localcachelayer/user_layer_test.go b/store/localcachelayer/user_layer_test.go index 1a9bb1e79f6..257968791cf 100644 --- a/store/localcachelayer/user_layer_test.go +++ b/store/localcachelayer/user_layer_test.go @@ -36,7 +36,7 @@ func TestUserStoreCache(t *testing.T) { mockStore.User().(*mocks.UserStore).AssertNumberOfCalls(t, "GetProfileByIds", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil) diff --git a/store/localcachelayer/webhook_layer_test.go b/store/localcachelayer/webhook_layer_test.go index ad28260fbf7..224a5fd5e74 100644 --- a/store/localcachelayer/webhook_layer_test.go +++ b/store/localcachelayer/webhook_layer_test.go @@ -35,7 +35,7 @@ func TestWebhookStoreCache(t *testing.T) { mockStore.Webhook().(*mocks.WebhookStore).AssertNumberOfCalls(t, "GetIncoming", 1) }) - t.Run("first call not cached, second force no cached", func(t *testing.T) { + t.Run("first call not cached, second force not cached", func(t *testing.T) { mockStore := getMockStore() cachedStore := NewLocalCacheLayer(mockStore, nil, nil)