Skip to content

Commit 39619bf

Browse files
committed
fix test
1 parent 81fd283 commit 39619bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/session_sql_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func TestSQLSessionStore_Pruning(t *testing.T) {
156156
// don't use the store funcs, since they check for the expires property of an entry
157157
var count int64
158158
err := db.Model(&sessionStoreRecord{}).
159-
Where("store = ? AND key = ?", "storename", testKey).
159+
Where("store = ? AND entry_key = ?", "storename", testKey).
160160
Count(&count).Error
161161
assert.NoError(t, err)
162162
assert.Equal(t, int64(0), count)

0 commit comments

Comments
 (0)