From d39a722a819b154d260b90905065a000749778b6 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 20 Oct 2017 17:33:20 -0700 Subject: refactor max channels per team enforcement (#7690) --- store/storetest/compliance_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'store/storetest/compliance_store.go') diff --git a/store/storetest/compliance_store.go b/store/storetest/compliance_store.go index 1069bb88b..0ca33df0d 100644 --- a/store/storetest/compliance_store.go +++ b/store/storetest/compliance_store.go @@ -94,7 +94,7 @@ func testComplianceExport(t *testing.T, ss store.Store) { c1.DisplayName = "Channel2" c1.Name = "zz" + model.NewId() + "b" c1.Type = model.CHANNEL_OPEN - c1 = store.Must(ss.Channel().Save(c1)).(*model.Channel) + c1 = store.Must(ss.Channel().Save(c1, -1)).(*model.Channel) o1 := &model.Post{} o1.ChannelId = c1.Id @@ -256,7 +256,7 @@ func testComplianceExportDirectMessages(t *testing.T, ss store.Store) { c1.DisplayName = "Channel2" c1.Name = "zz" + model.NewId() + "b" c1.Type = model.CHANNEL_OPEN - c1 = store.Must(ss.Channel().Save(c1)).(*model.Channel) + c1 = store.Must(ss.Channel().Save(c1, -1)).(*model.Channel) cDM := store.Must(ss.Channel().CreateDirectChannel(u1.Id, u2.Id)).(*model.Channel) -- cgit v1.2.3-1-g7c22