diff options
author | Chris <ccbrown112@gmail.com> | 2017-10-20 17:33:20 -0700 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-10-20 20:33:20 -0400 |
commit | d39a722a819b154d260b90905065a000749778b6 (patch) | |
tree | 94d9a1de7bea296e135624c60bdd2147be344aab /store/storetest/compliance_store.go | |
parent | 812f5664016deb596281d8119321833beafd4599 (diff) | |
download | chat-d39a722a819b154d260b90905065a000749778b6.tar.gz chat-d39a722a819b154d260b90905065a000749778b6.tar.bz2 chat-d39a722a819b154d260b90905065a000749778b6.zip |
refactor max channels per team enforcement (#7690)
Diffstat (limited to 'store/storetest/compliance_store.go')
-rw-r--r-- | store/storetest/compliance_store.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |