Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/Illuminate/Foundation/Testing/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ abstract public function createApplication();
/**
* Setup the test environment.
*
* @before
*
* @return void
*/
protected function setUp(): void
protected function setUpLaravelApplication(): void
{
Facade::clearResolvedInstances();

Expand Down Expand Up @@ -148,11 +150,13 @@ protected function setUpTraits()
/**
* Clean up the testing environment before the next test.
*
* @after
*
* @return void
*
* @throws \Mockery\Exception\InvalidCountException
*/
protected function tearDown(): void
protected function tearDownLaravelApplication(): void
{
if ($this->app) {
$this->callBeforeApplicationDestroyedCallbacks();
Expand Down