Exemple #1
0
 public function _after(\Codeception\TestCase $test)
 {
     if ($this->config['cleanup'] and $this->expectedLaravelVersion(4.1)) {
         $this->kernel['db']->rollback();
     }
     $this->kernel->shutdown();
 }
Exemple #2
0
 /**
  * Register a "shutdown" callback.
  *
  * @param callable $callback
  * @return void 
  * @static 
  */
 public static function shutdown($callback = null)
 {
     \Illuminate\Foundation\Application::shutdown($callback);
 }