示例#1
0
 public function setUp()
 {
     parent::setUp();
     $this->clearDb();
     $authMan = \Yii::$app->getAuthManager();
     /* @var $authMan \yii\rbac\ManagerInterface */
     $authMan->removeAllAssignments();
     /* @var $configBuilder \Codeception\Specify\ConfigBuilder */
     $configBuilder = $this->specifyConfig();
     $configBuilder->shallowClone();
 }
 protected function setUp()
 {
     parent::setUp();
 }