Fixed unit tests

This commit is contained in:
Claudio Sanches 2020-01-10 17:14:44 -03:00
parent 107720dc08
commit f253c87096
1 changed files with 0 additions and 13 deletions

View File

@ -60,19 +60,6 @@ class WC_Tests_Shipping extends WC_Unit_Test_Case {
);
$this->assertFalse( $result );
// Failure for invalid postcode.
$result = $shipping->is_package_shippable(
array(
'destination' => array(
'country' => 'US',
'state' => 'CA',
'postcode' => 'test',
'address' => '',
),
)
);
$this->assertFalse( $result );
// Success for correct address.
$result = $shipping->is_package_shippable(
array(