summaryrefslogtreecommitdiffstats
path: root/manualtesting
diff options
context:
space:
mode:
authorPat Lathem <patl@codero.com>2015-10-30 12:42:26 -0500
committerPat Lathem <patl@codero.com>2015-10-30 12:42:26 -0500
commit7d60d96c91effba05922f26ba8671636fc184e16 (patch)
tree006eef4fc2067dee79fc3167616e6cc7b9b49306 /manualtesting
parente6826c4d213cf33236ab1ee1d3bde96baf60a09a (diff)
downloadchat-7d60d96c91effba05922f26ba8671636fc184e16.tar.gz
chat-7d60d96c91effba05922f26ba8671636fc184e16.tar.bz2
chat-7d60d96c91effba05922f26ba8671636fc184e16.zip
Fix spelling of environment
Diffstat (limited to 'manualtesting')
-rw-r--r--manualtesting/manual_testing.go6
-rw-r--r--manualtesting/test_autolink.go2
2 files changed, 4 insertions, 4 deletions
diff --git a/manualtesting/manual_testing.go b/manualtesting/manual_testing.go
index 3c2289626..ffdb578a4 100644
--- a/manualtesting/manual_testing.go
+++ b/manualtesting/manual_testing.go
@@ -16,7 +16,7 @@ import (
"time"
)
-type TestEnviroment struct {
+type TestEnvironment struct {
Params map[string][]string
Client *model.Client
CreatedTeamId string
@@ -121,8 +121,8 @@ func manualTest(c *api.Context, w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/channels/town-square", http.StatusTemporaryRedirect)
}
- // Setup test enviroment
- env := TestEnviroment{
+ // Setup test environment
+ env := TestEnvironment{
Params: params,
Client: client,
CreatedTeamId: teamID,
diff --git a/manualtesting/test_autolink.go b/manualtesting/test_autolink.go
index e4d49659a..a13ec7a75 100644
--- a/manualtesting/test_autolink.go
+++ b/manualtesting/test_autolink.go
@@ -19,7 +19,7 @@ http://www.google.com.pk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8
https://medium.com/@slackhq/11-useful-tips-for-getting-the-most-of-slack-5dfb3d1af77
`
-func testAutoLink(env TestEnviroment) *model.AppError {
+func testAutoLink(env TestEnvironment) *model.AppError {
l4g.Info("Manual Auto Link Test")
channelID, err := getChannelID(model.DEFAULT_CHANNEL, env.CreatedTeamId, env.CreatedUserId)
if err != true {