コード例 #1
0
ファイル: InstallCommand.php プロジェクト: LaraGit/larapress
 /**
  * Abort command execution with a given error message
  *
  * @param string $message
  */
 protected function abort_command($message)
 {
     $this->call('migrate:reset');
     $this->error($message);
     $this->mockably->mockable_die();
 }
コード例 #2
0
ファイル: MockablyTest.php プロジェクト: LaraGit/larapress
 /**
  * @test microtime() can return float
  */
 public function microtime_can_return_float()
 {
     $mockably = new Mockably();
     $this->assertInternalType('float', $mockably->microtime());
 }