summaryrefslogtreecommitdiffstats
path: root/app/import_test.go
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-03-29 16:04:54 +0200
committerHarrison Healey <harrisonmhealey@gmail.com>2018-03-29 10:04:54 -0400
commit014a3b6a60610ba592c5843080686f4481553136 (patch)
tree883ac2be9c96de5a8c4f34b2881da84c1fd65e21 /app/import_test.go
parenteb48292a3a69ac5ffac91cdb0c5e5349ae8f85eb (diff)
downloadchat-014a3b6a60610ba592c5843080686f4481553136.tar.gz
chat-014a3b6a60610ba592c5843080686f4481553136.tar.bz2
chat-014a3b6a60610ba592c5843080686f4481553136.zip
Fixing misspell errors (#8544)
Diffstat (limited to 'app/import_test.go')
-rw-r--r--app/import_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/import_test.go b/app/import_test.go
index 073741b19..1024a5438 100644
--- a/app/import_test.go
+++ b/app/import_test.go
@@ -1338,11 +1338,11 @@ func TestImportImportChannel(t *testing.T) {
t.Fatalf("Failed to get channel count.")
}
- // Do a valid channel in apply mode with a nonexistant team.
+ // Do a valid channel in apply mode with a non-existent team.
data.Name = ptrStr("channelname")
data.Team = ptrStr(model.NewId())
if err := th.App.ImportChannel(&data, false); err == nil {
- t.Fatalf("Expected error due to non-existant team (apply mode).")
+ t.Fatalf("Expected error due to non-existent team (apply mode).")
}
// Check that no more channels are in the DB.
@@ -2501,7 +2501,7 @@ func TestImportImportDirectChannel(t *testing.T) {
model.NewId(),
}
if err := th.App.ImportDirectChannel(&data, true); err != nil {
- t.Fatalf("Expected success as cannot validate existance of channel members in dry run mode.")
+ t.Fatalf("Expected success as cannot validate existence of channel members in dry run mode.")
}
// Check that no more channels are in the DB.
@@ -2515,7 +2515,7 @@ func TestImportImportDirectChannel(t *testing.T) {
model.NewId(),
}
if err := th.App.ImportDirectChannel(&data, true); err != nil {
- t.Fatalf("Expected success as cannot validate existance of channel members in dry run mode.")
+ t.Fatalf("Expected success as cannot validate existence of channel members in dry run mode.")
}
// Check that no more channels are in the DB.