diff options
Diffstat (limited to 'vendor/paypal/paypal-checkout-sdk/tests/Orders/OrdersAuthorizeTest.php')
-rw-r--r-- | vendor/paypal/paypal-checkout-sdk/tests/Orders/OrdersAuthorizeTest.php | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/vendor/paypal/paypal-checkout-sdk/tests/Orders/OrdersAuthorizeTest.php b/vendor/paypal/paypal-checkout-sdk/tests/Orders/OrdersAuthorizeTest.php index 981ce26..3814853 100644 --- a/vendor/paypal/paypal-checkout-sdk/tests/Orders/OrdersAuthorizeTest.php +++ b/vendor/paypal/paypal-checkout-sdk/tests/Orders/OrdersAuthorizeTest.php @@ -1,26 +1,26 @@ -<?php - - - -namespace Test\Orders; - -use PHPUnit\Framework\TestCase; - -use PayPalCheckoutSdk\Orders\OrdersAuthorizeRequest; -use Test\TestHarness; - - -class OrdersAuthorizeTest extends TestCase -{ - public function testOrdersAuthorizeRequest() - { - $this->markTestSkipped("Need an approved Order ID to execute this test."); - $request = new OrdersAuthorizeRequest('ORDER-ID'); - $request->body = $this->buildRequestBody(); - - $client = TestHarness::client(); - $response = $client->execute($request); - $this->assertEquals(201, $response->statusCode); - $this->assertNotNull($response->result); - } -} +<?php
+
+
+
+namespace Test\Orders;
+
+use PHPUnit\Framework\TestCase;
+
+use PayPalCheckoutSdk\Orders\OrdersAuthorizeRequest;
+use Test\TestHarness;
+
+
+class OrdersAuthorizeTest extends TestCase
+{
+ public function testOrdersAuthorizeRequest()
+ {
+ $this->markTestSkipped("Need an approved Order ID to execute this test.");
+ $request = new OrdersAuthorizeRequest('ORDER-ID');
+ $request->body = $this->buildRequestBody();
+
+ $client = TestHarness::client();
+ $response = $client->execute($request);
+ $this->assertEquals(201, $response->statusCode);
+ $this->assertNotNull($response->result);
+ }
+}
|