Flugg\Responder\Tests\TestCase::setUp PHP Метод

setUp() публичный Метод

Setup the test environment.
public setUp ( ) : void
Результат void
    public function setUp()
    {
        parent::setUp();
        $this->app['config']->set('responder.include_status_code', false);
        $this->responder = $this->app[Responder::class];
        $this->createTestTransformer();
        $this->schema = $this->app['db']->connection()->getSchemaBuilder();
        $this->runTestMigrations();
        $this->beforeApplicationDestroyed(function () {
            $this->rollbackTestMigrations();
        });
    }