mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Fix tests
This commit is contained in:
parent
7d1f8b5187
commit
9db41ee34e
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ namespace WooCommerce\PayPalCommerce\ApiClient\Helper;
|
||||||
*/
|
*/
|
||||||
class FailureRegistry {
|
class FailureRegistry {
|
||||||
const CACHE_KEY = 'failure_registry';
|
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';
|
const SELLER_STATUS_KEY = 'seller_status';
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Entity\Order;
|
||||||
*/
|
*/
|
||||||
class OrderTransient {
|
class OrderTransient {
|
||||||
const CACHE_KEY = 'order_transient';
|
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.
|
* The Cache.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue