コード例 #1
0
 public function setUp()
 {
     parent::setUp();
     $this->permission = Mockery::mock('\\Larapress\\Interfaces\\PermissionInterface');
     $this->redirect = Mockery::mock('\\Illuminate\\Routing\\Redirector');
     $this->view = Mockery::mock('\\Illuminate\\View\\Factory');
     $this->sentry = Mockery::mock('\\Cartalyst\\Sentry\\Sentry');
     $this->captcha = Mockery::mock('\\Larapress\\Interfaces\\CaptchaInterface');
     $this->input = Mockery::mock('\\Illuminate\\Http\\Request');
     $this->narrator = Mockery::mock('\\Larapress\\Interfaces\\NarratorInterface');
     $this->session = Mockery::mock('\\Illuminate\\Session\\Store');
 }
コード例 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->view = Mockery::mock('\\Illuminate\\View\\Factory');
 }