From 49fe5fbf3db56fc466b8997b182ee135d7a4365d Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 25 Sep 2017 09:11:25 -0500 Subject: Move sql store code into store/sqlstore package (#7502) * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp --- api4/channel_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'api4/channel_test.go') diff --git a/api4/channel_test.go b/api4/channel_test.go index 7237eb47a..fbe96728d 100644 --- a/api4/channel_test.go +++ b/api4/channel_test.go @@ -12,7 +12,7 @@ import ( "testing" "github.com/mattermost/mattermost-server/model" - "github.com/mattermost/mattermost-server/store" + "github.com/mattermost/mattermost-server/store/sqlstore" "github.com/mattermost/mattermost-server/utils" ) @@ -936,7 +936,7 @@ func TestDeleteChannel(t *testing.T) { // successful delete by channel admin MakeUserChannelAdmin(user, publicChannel6) MakeUserChannelAdmin(user, privateChannel7) - store.ClearChannelCaches() + sqlstore.ClearChannelCaches() _, resp = Client.DeleteChannel(publicChannel6.Id) CheckNoError(t, resp) @@ -990,7 +990,7 @@ func TestDeleteChannel(t *testing.T) { // // cannot delete by channel admin MakeUserChannelAdmin(user, publicChannel6) MakeUserChannelAdmin(user, privateChannel7) - store.ClearChannelCaches() + sqlstore.ClearChannelCaches() _, resp = Client.DeleteChannel(publicChannel6.Id) CheckForbiddenStatus(t, resp) @@ -1032,7 +1032,7 @@ func TestDeleteChannel(t *testing.T) { // cannot delete by channel admin MakeUserChannelAdmin(user, publicChannel6) MakeUserChannelAdmin(user, privateChannel7) - store.ClearChannelCaches() + sqlstore.ClearChannelCaches() _, resp = Client.DeleteChannel(publicChannel6.Id) CheckForbiddenStatus(t, resp) -- cgit v1.2.3-1-g7c22