Fix tests

This commit is contained in:
Pedro Silva 2023-10-12 18:49:27 +01:00
parent 7d1f8b5187
commit 9db41ee34e
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ namespace WooCommerce\PayPalCommerce\ApiClient\Helper;
*/
class FailureRegistry {
const CACHE_KEY = 'failure_registry';
const CACHE_TIMEOUT = DAY_IN_SECONDS; // If necessary we can increase this.
const CACHE_TIMEOUT = 60 * 60 * 24; // DAY_IN_SECONDS, if necessary we can increase this.
const SELLER_STATUS_KEY = 'seller_status';

View file

@ -21,7 +21,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Entity\Order;
*/
class OrderTransient {
const CACHE_KEY = 'order_transient';
const CACHE_TIMEOUT = DAY_IN_SECONDS; // If necessary we can increase this.
const CACHE_TIMEOUT = 60 * 60 * 24; // DAY_IN_SECONDS, if necessary we can increase this.
/**
* The Cache.