mirror of
https://github.com/PrivateCaptcha/PrivateCaptcha.git
synced 2026-04-27 08:19:34 -05:00
Add functionality to backfill potential stale session in portal
Also get rid of unnecessary changes from previous commit
This commit is contained in:
@@ -124,8 +124,8 @@ func TestGetPuzzleWithoutSubscription(t *testing.T) {
|
||||
}
|
||||
|
||||
sitekey := db.UUIDToSiteKey(property.ExternalID)
|
||||
if err := cache.Delete(ctx, db.PropertyBySitekeyCacheKey(sitekey)); err != nil {
|
||||
t.Fatal(err)
|
||||
if found := cache.Delete(ctx, db.PropertyBySitekeyCacheKey(sitekey)); !found {
|
||||
t.Fatal("property was not found in cache")
|
||||
}
|
||||
|
||||
puzzleSuiteWithBackfillWait(t, ctx, sitekey, property.Domain)
|
||||
|
||||
Reference in New Issue
Block a user