diff --git a/database-testing.md b/database-testing.md index e1162fa5981..5da114a8748 100644 --- a/database-testing.md +++ b/database-testing.md @@ -165,8 +165,6 @@ Alternatively, you may instruct Laravel to automatically seed the database befor abstract class TestCase extends BaseTestCase { - use CreatesApplication; - /** * Indicates whether the default seeder should run before each test. * diff --git a/testing.md b/testing.md index 60bd9e03a38..6cd8cb73337 100644 --- a/testing.md +++ b/testing.md @@ -31,11 +31,6 @@ You are free to define other testing environment configuration values as necessa 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. - -#### The `CreatesApplication` Trait - -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. - ## Creating Tests diff --git a/vite.md b/vite.md index 021e9d2240d..01bf4600004 100644 --- a/vite.md +++ b/vite.md @@ -635,8 +635,6 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { - use CreatesApplication; - protected function setUp(): void// [tl! add:start] { parent::setUp();