22digital / laravel-cashier-fastspring

💳 Laravel Cashier Fastspring is a cashier-like Laravel package which provides an interface to the Fastspring subscription and payment services.
https://fastspring.22digital.co.za
MIT License
10 stars 8 forks source link

StyleCI failing #15

Closed justinhartman closed 4 years ago

justinhartman commented 4 years ago

Describe the bug StyleCI is failing on some of the tests in the repo. See details over here

Diff file contains the following:

diff --git a/tests/CashierFastspringTest.php b/tests/CashierFastspringTest.php
index 2811f170b284b67abbbc963c1e5fde4630ec2387..486871791d5b082f0de7ec914a0c2988dda83695 100644
--- a/tests/CashierFastspringTest.php
+++ b/tests/CashierFastspringTest.php
@@ -128,8 +128,8 @@ class CashierFastspringTest extends TestCase
                 ],
             ])),
             new Response(200, [], json_encode(['accounts' => [
-                    ['id' => 'fastspring_id'],
-                ],
+                ['id' => 'fastspring_id'],
+            ],
             ])),
             new Response(200, [], json_encode(['hello' => 'world'])),
         ]);
diff --git a/tests/SubscriptionTest.php b/tests/SubscriptionTest.php
index 99d70505c39d8765e036729f2672af04877ab05b..1d5dd6410ce93f0a9f0b8814c4bb77bd12f83af8 100644
--- a/tests/SubscriptionTest.php
+++ b/tests/SubscriptionTest.php
@@ -81,7 +81,7 @@ class SubscriptionTest extends TestCase
             'subscription_id' => 'fastspring_id',
             'start_date' => $today,
             'end_date' => $today,
-            'type' => 'local'
+            'type' => 'local',
         ]);

         $this->assertNotNull($activePeriod);