コード例 #1
0
ファイル: TrustedActionTest.php プロジェクト: hyhyxu/hook
 public function tearDown()
 {
     // restore commandline key
     AppKey::current()->type = AppKey::TYPE_CLI;
     Context::setTrusted(false);
     // reset active auth token
     AuthToken::setCurrent(null);
 }
コード例 #2
0
ファイル: RoleTest.php プロジェクト: CFLOVEYR/hook
 public function tearDown()
 {
     // restore commandline key
     AppKey::current()->type = AppKey::TYPE_CLI;
 }