Example #1
0
 public function tearDown()
 {
     // restore commandline key
     AppKey::current()->type = AppKey::TYPE_CLI;
     Context::setTrusted(false);
     // reset active auth token
     AuthToken::setCurrent(null);
 }
Example #2
0
 public function tearDown()
 {
     // restore commandline key
     AppKey::current()->type = AppKey::TYPE_CLI;
 }