test(session/store): add missing assertion

This commit is contained in:
Trong Huu Nguyen
2022-09-16 20:02:38 +02:00
parent 62f0359438
commit d732a5b3cd

View File

@@ -83,6 +83,7 @@ func update(t *testing.T, store session.Store, key string, data *session.Data, c
func del(t *testing.T, store session.Store, key string) {
err := store.Delete(context.Background(), key)
assert.NoError(t, err)
result, err := store.Read(context.Background(), key)
assert.Error(t, err)