mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Remove unit test
This commit is contained in:
parent
8a51994db8
commit
062c08f19f
1 changed files with 0 additions and 15 deletions
|
@ -127,21 +127,6 @@ class AddressFactoryTest extends TestCase
|
|||
$this->assertEquals($expectedPostalCode, $result->postal_code());
|
||||
}
|
||||
|
||||
public function testFromPayPalRequestThrowsError()
|
||||
{
|
||||
$testee = new AddressFactory();
|
||||
|
||||
$data = (object) [
|
||||
'address_line_1' => 'shipping_address_1',
|
||||
'address_line_2' => 'shipping_address_2',
|
||||
'admin_area_1' => 'shipping_admin_area_1',
|
||||
'admin_area_2' => 'shipping_admin_area_2',
|
||||
'postal_code' => 'shipping_postcode',
|
||||
];
|
||||
$this->expectException(RuntimeException::class);
|
||||
$testee->from_paypal_response($data);
|
||||
}
|
||||
|
||||
public function dataFromPayPalRequest() : array
|
||||
{
|
||||
return [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue