From 062c08f19fa40a0d0ea5066e32914d62ec00311f Mon Sep 17 00:00:00 2001 From: dinamiko Date: Thu, 2 Jun 2022 11:37:53 +0200 Subject: [PATCH] Remove unit test --- .../ApiClient/Factory/AddressFactoryTest.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/PHPUnit/ApiClient/Factory/AddressFactoryTest.php b/tests/PHPUnit/ApiClient/Factory/AddressFactoryTest.php index 81f8146fd..a47ec7d13 100644 --- a/tests/PHPUnit/ApiClient/Factory/AddressFactoryTest.php +++ b/tests/PHPUnit/ApiClient/Factory/AddressFactoryTest.php @@ -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 [