summaryrefslogtreecommitdiffstats
path: root/manualtesting/test_autolink.go
diff options
context:
space:
mode:
Diffstat (limited to 'manualtesting/test_autolink.go')
-rw-r--r--manualtesting/test_autolink.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/manualtesting/test_autolink.go b/manualtesting/test_autolink.go
index 3fe589241..05fd45551 100644
--- a/manualtesting/test_autolink.go
+++ b/manualtesting/test_autolink.go
@@ -31,6 +31,6 @@ func testAutoLink(env TestEnvironment) *model.AppError {
post := &model.Post{
ChannelId: channelID,
Message: LINK_POST_TEXT}
- _, err2 := env.Client.CreatePost(post)
- return err2
+ _, resp := env.Client.CreatePost(post)
+ return resp.Error
}