芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/laravel/framework/src/TestCase.php
make(Kernel::class)->bootstrap(); return $app; } /** * Setup the test environment. * * @return void */ protected function setUp(): void { static::$latestResponse = null; $this->setUpTheTestEnvironment(); } /** * Refresh the application instance. * * @return void */ protected function refreshApplication() { $this->app = $this->createApplication(); } /** * {@inheritdoc} */ protected function transformException(Throwable $error): Throwable { $response = static::$latestResponse ?? null; if (! is_null($response)) { $response->transformNotSuccessfulException($error); } return $error; } /** * Clean up the testing environment before the next test. * * @return void * * @throws \Mockery\Exception\InvalidCountException */ protected function tearDown(): void { $this->tearDownTheTestEnvironment(); } /** * Clean up the testing environment before the next test case. * * @return void */ public static function tearDownAfterClass(): void { static::$latestResponse = null; static::tearDownAfterClassUsingTestCase(); } }