Add test case for Logout method

This commit is contained in:
nxshock 2019-07-29 19:53:15 +05:00
parent e5b1dbd643
commit d96df1b1e5

View File

@ -86,4 +86,6 @@ func TestLogout(t *testing.T) {
assert.NotZero(t, token)
user.Logout(token)
assert.Nil(t, backend.GetUserByToken(token))
}