[wp-trac] [WordPress Trac] #64142: Transients inconsistency since 6.9-beta1 (was: Transients not get created or deleted since 6.9-beta1)
WordPress Trac
noreply at wordpress.org
Thu Oct 23 15:31:32 UTC 2025
#64142: Transients inconsistency since 6.9-beta1
--------------------------+---------------------
Reporter: nico23 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: Cache API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: tests
--------------------------+---------------------
Comment (by nico23):
Actually, my tests were messed up, I had the expected and real flipped,
fixed it now. The issue is actually that it finds one transient more than
expected.
It's the last assertion. There is supposed to be one transient left, but
it says it deletes two. So the function trying to select the last
transient apparently finds two.
```
There was 1 failure:
1) Nextgenthemes\ARVE\Tests_Admin::test_transient_deletion
Failed to delete transients with no prefix and no containing string.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Deleted 1 transients.'
+'Deleted 2 transients.'
```
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64142#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list