Skip to content

Commit 67022e6

Browse files
[11.x] Fixes changes to application skeleton (#49425)
* [11.x] Fixes changes to application skeleton Signed-off-by: Mior Muhammad Zaki <[email protected]> * Apply fixes from StyleCI --------- Signed-off-by: Mior Muhammad Zaki <[email protected]> Co-authored-by: StyleCI Bot <[email protected]>
1 parent 631e418 commit 67022e6

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

src/Illuminate/Queue/Console/FailedTableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function migrationExists($table)
6464
return count($this->files->glob(sprintf(
6565
'{%s,%s}',
6666
$this->laravel->joinPaths($this->laravel->databasePath('migrations'), '*_*_*_*_create_'.$table.'_table.php'),
67-
$this->laravel->joinPaths($this->laravel->databasePath('migrations'), '0001_01_01_000003_create_jobs_table.php'),
67+
$this->laravel->joinPaths($this->laravel->databasePath('migrations'), '0001_01_01_000002_create_jobs_table.php'),
6868
))) !== 0;
6969
}
7070
}

src/Illuminate/Queue/Console/TableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function migrationExists($table)
6464
return count($this->files->glob(sprintf(
6565
'{%s,%s}',
6666
$this->laravel->joinPaths($this->laravel->databasePath('migrations'), '*_*_*_*_create_'.$table.'_table.php'),
67-
$this->laravel->joinPaths($this->laravel->databasePath('migrations'), '0001_01_01_000003_create_jobs_table.php'),
67+
$this->laravel->joinPaths($this->laravel->databasePath('migrations'), '0001_01_01_000002_create_jobs_table.php'),
6868
))) !== 0;
6969
}
7070
}

tests/Integration/Foundation/Console/AboutCommandTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
namespace Illuminate\Tests\Integration\Foundation\Console;
44

55
use Illuminate\Testing\Assert;
6-
use Orchestra\Testbench\Attributes\WithEnv;
76
use Orchestra\Testbench\TestCase;
87

98
use function Orchestra\Testbench\remote;
109

11-
#[WithEnv('APP_MAINTENANCE_STORE', 'array')]
1210
class AboutCommandTest extends TestCase
1311
{
1412
public function testItCanDisplayAboutCommandAsJson()
@@ -38,7 +36,7 @@ public function testItCanDisplayAboutCommandAsJson()
3836
'logs' => ['single'],
3937
'mail' => 'smtp',
4038
'queue' => 'database',
41-
'session' => 'database',
39+
'session' => 'cookie',
4240
], $output['drivers']);
4341
});
4442
}

tests/Integration/Foundation/MaintenanceModeTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111
use Illuminate\Support\Carbon;
1212
use Illuminate\Support\Facades\Event;
1313
use Illuminate\Support\Facades\Route;
14-
use Orchestra\Testbench\Attributes\WithEnv;
1514
use Orchestra\Testbench\Http\Middleware\PreventRequestsDuringMaintenance as TestbenchPreventRequestsDuringMaintenance;
1615
use Orchestra\Testbench\TestCase;
1716
use Symfony\Component\HttpFoundation\Cookie;
1817

19-
#[WithEnv('APP_MAINTENANCE_DRIVER', 'file')]
2018
class MaintenanceModeTest extends TestCase
2119
{
2220
protected function setUp(): void

0 commit comments

Comments
 (0)