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