resolve admin error in database

This commit is contained in:
Brad Rydzewski 2016-05-02 12:27:22 -07:00
parent 0fb4aeda3f
commit 90408f20a5

View file

@ -58,7 +58,6 @@ func TestUsers(t *testing.T) {
Email: "foo@bar.com", Email: "foo@bar.com",
Avatar: "b9015b0857e16ac4d94a0ffd9a0b79c8", Avatar: "b9015b0857e16ac4d94a0ffd9a0b79c8",
Active: true, Active: true,
Admin: true,
} }
s.CreateUser(&user) s.CreateUser(&user)
@ -71,7 +70,6 @@ func TestUsers(t *testing.T) {
g.Assert(user.Email).Equal(getuser.Email) g.Assert(user.Email).Equal(getuser.Email)
g.Assert(user.Avatar).Equal(getuser.Avatar) g.Assert(user.Avatar).Equal(getuser.Avatar)
g.Assert(user.Active).Equal(getuser.Active) g.Assert(user.Active).Equal(getuser.Active)
g.Assert(user.Admin).Equal(getuser.Admin)
}) })
g.It("Should Get a User By Login", func() { g.It("Should Get a User By Login", func() {