diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-01-25 00:49:19 -0300 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-01-25 00:57:16 -0300 |
commit | 7b3be6c77e622dedab0b8d8c1d5fd0e7aa76de46 (patch) | |
tree | 77dc7737757fa0623fa0171dbe6a3f854b53266c /manualtesting/test_autolink.go | |
parent | e880835fbbeea4c26fc9a94b1b0a92f7692b0b82 (diff) | |
download | chat-7b3be6c77e622dedab0b8d8c1d5fd0e7aa76de46.tar.gz chat-7b3be6c77e622dedab0b8d8c1d5fd0e7aa76de46.tar.bz2 chat-7b3be6c77e622dedab0b8d8c1d5fd0e7aa76de46.zip |
PLT-7: Refactoring manuatesting & utils to use translations (chunk 5)
- Add spanish translations
- Skip tests
Diffstat (limited to 'manualtesting/test_autolink.go')
-rw-r--r-- | manualtesting/test_autolink.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manualtesting/test_autolink.go b/manualtesting/test_autolink.go index 16d2d713a..f9f213da1 100644 --- a/manualtesting/test_autolink.go +++ b/manualtesting/test_autolink.go @@ -6,6 +6,7 @@ package manualtesting import ( l4g "github.com/alecthomas/log4go" "github.com/mattermost/platform/model" + "github.com/mattermost/platform/utils" ) const LINK_POST_TEXT = ` @@ -20,10 +21,10 @@ https://medium.com/@slackhq/11-useful-tips-for-getting-the-most-of-slack-5dfb3d1 ` func testAutoLink(env TestEnvironment) *model.AppError { - l4g.Info("Manual Auto Link Test") + l4g.Info(utils.T("manaultesting.test_autolink.info")) channelID, err := getChannelID(model.DEFAULT_CHANNEL, env.CreatedTeamId, env.CreatedUserId) if err != true { - return model.NewAppError("/manualtest", "Unable to get channels", "") + return model.NewLocAppError("/manualtest", "manaultesting.test_autolink.unable.app_error", nil, "") } post := &model.Post{ |