Skip to content

Commit 6ace3e8

Browse files
authored
Removes references to CreatesApplication (#9297)
1 parent 6160ff5 commit 6ace3e8

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

database-testing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ Alternatively, you may instruct Laravel to automatically seed the database befor
165165

166166
abstract class TestCase extends BaseTestCase
167167
{
168-
use CreatesApplication;
169-
170168
/**
171169
* Indicates whether the default seeder should run before each test.
172170
*

testing.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ You are free to define other testing environment configuration values as necessa
3131

3232
In addition, you may create a `.env.testing` file in the root of your project. This file will be used instead of the `.env` file when running Pest and PHPUnit tests or executing Artisan commands with the `--env=testing` option.
3333

34-
<a name="the-creates-application-trait"></a>
35-
#### The `CreatesApplication` Trait
36-
37-
Laravel includes a `CreatesApplication` trait that is applied to your application's base `TestCase` class. This trait contains a `createApplication` method that bootstraps the Laravel application before running your tests. It's important that you leave this trait at its original location as some features, such as Laravel's parallel testing feature, depend on it.
38-
3934
<a name="creating-tests"></a>
4035
## Creating Tests
4136

vite.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,6 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
635635
636636
abstract class TestCase extends BaseTestCase
637637
{
638-
use CreatesApplication;
639-
640638
protected function setUp(): void// [tl! add:start]
641639
{
642640
parent::setUp();

0 commit comments

Comments
 (0)