Fix the tests

This commit is contained in:
Narek Zakarian 2025-02-21 15:17:55 +04:00
parent ee9ac2fd21
commit 10d2023d43
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -159,7 +159,7 @@ class Settings implements ContainerInterface {
if ( $this->settings ) {
return false;
}
$this->settings = get_option( self::KEY, array() );
$this->settings = (array) get_option( self::KEY, array() );
$defaults = array(
'title' => __( 'PayPal', 'woocommerce-paypal-payments' ),