Bolt\Tests\Users\AuthenticationTest::setUp PHP Метод

setUp() защищенный Метод

См. также: PHPUnit_Framework_TestCase::setUp
protected setUp ( )
    protected function setUp()
    {
        $this->resetDb();
        $app = $this->getApp();
        $this->addNewUser($app, 'admin', 'Admin', 'root');
        $this->addNewUser($app, 'editor', 'Editor', 'editor');
        $this->user = ['id' => 2, 'username' => 'editor', 'email' => '[email protected]'];
    }