[TESTS] Fixed write context fatal error
This commit is contained in:
parent
3235ba177c
commit
1d2f4d21e1
|
@ -236,7 +236,8 @@ class Shipping_Zone extends \WC_Unit_Test_Case {
|
|||
$zone->clear_locations();
|
||||
|
||||
// Assert
|
||||
$this->assertTrue( empty( $zone->get_zone_locations() ) );
|
||||
$zone_locations = $zone->get_zone_locations()
|
||||
$this->assertTrue( empty( $zone_locations ) );
|
||||
|
||||
// Clean
|
||||
\WC_Helper_Shipping_Zones::remove_mock_zones();
|
||||
|
|
Loading…
Reference in New Issue