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]'];
}