Skip to content
Merged
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
3 changes: 3 additions & 0 deletions src/Codeception/Module/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Codeception\Subscriber\ErrorHandler;
use Codeception\TestInterface;
use Codeception\Util\ReflectionHelper;
use Illuminate\Console\Application as Artisan;
use Illuminate\Contracts\Config\Repository as Config;
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
use Illuminate\Database\Connection;
Expand Down Expand Up @@ -261,6 +262,8 @@ public function _after(TestInterface $test)
unset($this->app[\Faker\Generator::class]);
unset($this->app[\Illuminate\Database\Eloquent\Factory::class]);
}

Artisan::forgetBootstrappers();
}

/**
Expand Down