diff options
Diffstat (limited to 'store/sql_session_store_test.go')
-rw-r--r-- | store/sql_session_store_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_session_store_test.go b/store/sql_session_store_test.go index a06a2bdff..cec8e93b0 100644 --- a/store/sql_session_store_test.go +++ b/store/sql_session_store_test.go @@ -119,7 +119,7 @@ func TestSessionRemoveByUser(t *testing.T) { } } - Must(store.Session().RemoveAllSessionsForUser(s1.UserId)) + Must(store.Session().PermanentDeleteSessionsByUser(s1.UserId)) if rs2 := (<-store.Session().Get(s1.Id)); rs2.Err == nil { t.Fatal("should have been removed") |