summaryrefslogtreecommitdiffstats
path: root/store/sql_channel_store_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_channel_store_test.go')
-rw-r--r--store/sql_channel_store_test.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/store/sql_channel_store_test.go b/store/sql_channel_store_test.go
index 0c293972c..6a567f470 100644
--- a/store/sql_channel_store_test.go
+++ b/store/sql_channel_store_test.go
@@ -39,21 +39,6 @@ func TestChannelStoreSave(t *testing.T) {
if err := (<-store.Channel().Save(&o1)).Err; err == nil {
t.Fatal("Should not be able to save direct channel")
}
-
- o1.Type = model.CHANNEL_OPEN
- for i := 0; i < 1000; i++ {
- o1.Id = ""
- o1.Name = "a" + model.NewId() + "b"
- if err := (<-store.Channel().Save(&o1)).Err; err != nil {
- t.Fatal("couldn't save item", err)
- }
- }
-
- o1.Id = ""
- o1.Name = "a" + model.NewId() + "b"
- if err := (<-store.Channel().Save(&o1)).Err; err == nil {
- t.Fatal("should be the limit")
- }
}
func TestChannelStoreSaveDirectChannel(t *testing.T) {