Test Setup Failed
Branch master (900563)
by archer
02:28
created
Category
Test/ApiAuthTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     public function test_token_is_valid()
74 74
     {
75 75
         $succToken = $this->getGenerateToken();
76
-        $failToken =  '123456';
76
+        $failToken = '123456';
77 77
 
78 78
         echo $succToken;
79 79
 
Please login to merge, or discard this patch.
src/Providers/ApiAuthServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function boot(Router $router)
19 19
     {
20
-        if( function_exists('config_path') ) {
20
+        if (function_exists('config_path')) {
21 21
             $this->publishes([
22 22
                 __DIR__ . '/../config/apikey.php' => config_path('apikey.php'),
23 23
             ], 'config');
Please login to merge, or discard this patch.
src/Console/Commands/PutAppAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $name = $appClient->name;
58 58
 
59 59
         $options = $this->options();
60
-        $options = Arr::where($options, function ($option) {
60
+        $options = Arr::where($options, function($option) {
61 61
             if ($option) {
62 62
                 return $option;
63 63
             }
Please login to merge, or discard this patch.
src/Console/Commands/ListAppAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
         $headers = ['AppName', 'AppId', 'Secret', 'Status', 'CreateAt'];
51 51
 
52
-        $rows = $lists->map(function ($list) {
52
+        $rows = $lists->map(function($list) {
53 53
             $status = $list->active ? 'active' : 'deactivated';
54 54
             $status = $list->trashed() ? 'deleted' : $status;
55 55
 
Please login to merge, or discard this patch.
migrations/2019_08_15_022343_create_api_auth_access_events_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('api_auth_access_events', function (Blueprint $table) {
16
+        Schema::create('api_auth_access_events', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('appid')->comment('Appid');
19 19
             $table->ipAddress('ip_address')->comment('IP');
Please login to merge, or discard this patch.
migrations/2019_08_16_072139_create_api_auth_oprate_event_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('api_auth_oprate_events', function (Blueprint $table) {
16
+        Schema::create('api_auth_oprate_events', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->unsignedInteger('app_client_id');
19 19
             $table->ipAddress('ip_address');
Please login to merge, or discard this patch.
datebase/migrations/2019_08_15_022131_create_app_clients_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function up()
16 16
     {
17
-        Schema::create('app_clients', function (Blueprint $table) {
17
+        Schema::create('app_clients', function(Blueprint $table) {
18 18
             $table->increments('id');
19 19
             $table->string('name')->comment('AppName');
20 20
             $table->string('appid')->comment('Appid');
Please login to merge, or discard this patch.