[wp-trac] [WordPress Trac] #57963: Fix add method in test suite object-cache.php
WordPress Trac
noreply at wordpress.org
Wed Mar 22 09:25:55 UTC 2023
#57963: Fix add method in test suite object-cache.php
--------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: Build/Test Tools | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Comment (by SergeyBiryukov):
In [changeset:"55581" 55581]:
{{{
#!CommitTicketReference repository="" revision="55581"
Tests: Consistently sanitize expiration in the test suite's Memcached
implementation.
In a previous commit, the `::sanitize_expiration()` call in the `::add()`
method was moved closer to where the value is used.
This commit does the same for the other methods:
* `::cas()`
* `::replace()`
* `::set()`
* `::setMulti()`
Follow-up to [40561], [55577].
See #57841, #57963.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57963#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list