diff --git a/tests/_data/.gitignore b/tests/_data/.gitignore index b503cd89..48e029b1 100644 --- a/tests/_data/.gitignore +++ b/tests/_data/.gitignore @@ -1 +1 @@ -dump.sql \ No newline at end of file +*.sql \ No newline at end of file diff --git a/tests/_data/.gitkeep b/tests/_data/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/_data/e2e-config.php b/tests/_data/e2e-config.php index 0812b2d3..2df91707 100644 --- a/tests/_data/e2e-config.php +++ b/tests/_data/e2e-config.php @@ -1,7 +1,10 @@ set_zone_name( 'Local' ); $zone->set_zone_order( 1 ); $zone->add_location( 'GB', 'country' ); @@ -20,7 +23,7 @@ static function () { $zone->add_shipping_method( 'flat_rate' ); $zone->add_shipping_method( 'free_shipping' ); -$zone = new \WC_Shipping_Zone(); +$zone = new WC_Shipping_Zone(); $zone->set_zone_name( 'Europe' ); $zone->set_zone_order( 2 ); $zone->add_location( 'EU', 'continent' ); @@ -28,7 +31,7 @@ static function () { $zone->add_shipping_method( 'flat_rate' ); $zone->add_shipping_method( 'free_shipping' ); -$zone = new \WC_Shipping_Zone(); +$zone = new WC_Shipping_Zone(); $zone->set_zone_name( 'California' ); $zone->set_zone_order( 3 ); $zone->add_location( 'US:CA', 'state' ); @@ -36,7 +39,7 @@ static function () { $zone->add_shipping_method( 'flat_rate' ); $zone->add_shipping_method( 'free_shipping' ); -$zone = new \WC_Shipping_Zone(); +$zone = new WC_Shipping_Zone(); $zone->set_zone_name( 'US' ); $zone->set_zone_order( 4 ); $zone->add_location( 'US', 'country' );