From cb47c48a407ed9dab3e4e57a4319e3659bc4ac41 Mon Sep 17 00:00:00 2001 From: Piotr Zduniak Date: Thu, 15 Jan 2015 01:25:08 +0100 Subject: [PATCH] Tests fix --- routes/accounts_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/accounts_test.go b/routes/accounts_test.go index 39c2d49..f072dc4 100644 --- a/routes/accounts_test.go +++ b/routes/accounts_test.go @@ -502,7 +502,7 @@ func TestAccountsRoute(t *testing.T) { So(err, ShouldBeNil) So(response.Success, ShouldBeTrue) - So(response.Account.Name, ShouldEqual, "jeremy") + So(response.Account.Name, ShouldEqual, account.Name) }) Convey("Getting any non-me account should return a proper response", func() { @@ -546,7 +546,6 @@ func TestAccountsRoute(t *testing.T) { So(response.Message, ShouldEqual, "Your account has been successfully updated") So(response.Success, ShouldBeTrue) - So(response.Account.Name, ShouldEqual, "jeremy") So(response.Account.AltEmail, ShouldEqual, "john.cabbage@example.com") })