mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-21 18:02:24 +00:00
Add test case for Logout method
This commit is contained in:
parent
e5b1dbd643
commit
d96df1b1e5
@ -86,4 +86,6 @@ func TestLogout(t *testing.T) {
|
||||
assert.NotZero(t, token)
|
||||
|
||||
user.Logout(token)
|
||||
|
||||
assert.Nil(t, backend.GetUserByToken(token))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user