public function tearDown() { parent::tearDown(); $_SERVER['error'] = array(); $_SERVER['info'] = array(); $_SERVER['call'] = array(); }
public function setUp() { parent::setUp(); $this->view = Mockery::mock('Illuminate\\View\\Factory'); $this->config = Mockery::mock('Illuminate\\Config\\Repository'); $this->session = Mockery::mock('Illuminate\\Session\\Store'); $this->helpers = Mockery::mock('Larapress\\Services\\Helpers'); $this->mockably = Mockery::mock('Larapress\\Services\\Mockably'); }
public function setUp() { parent::setUp(); $this->config = Mockery::mock('\\Illuminate\\Config\\Repository'); $this->mail = Mockery::mock('\\Illuminate\\Mail\\Mailer'); $this->lang = Mockery::mock('\\Illuminate\\Translation\\Translator'); $this->input = Mockery::mock('\\Illuminate\\Http\\Request'); $this->sentry = Mockery::mock('\\Cartalyst\\Sentry\\Sentry'); $this->nullObject = Mockery::mock('\\Larapress\\Services\\NullObject'); $this->mockably = Mockery::mock('\\Larapress\\Services\\Mockably'); $this->nullObject->shouldDeferMissing(); }
public function setUp() { parent::setUp(); $this->config = Mockery::mock('\\Illuminate\\Config\\Repository'); $this->lang = Mockery::mock('\\Illuminate\\Translation\\Translator'); $this->view = Mockery::mock('\\Illuminate\\View\\Factory'); $this->mockably = Mockery::mock('\\Larapress\\Services\\Mockably'); $this->log = Mockery::mock('\\Monolog\\Logger'); $this->request = Mockery::mock('\\Illuminate\\Http\\Request'); $this->session = Mockery::mock('\\Illuminate\\Session\\Store'); $this->db = Mockery::mock('\\Illuminate\\Database\\Connection'); $this->redirect = Mockery::mock('\\Illuminate\\Routing\\Redirector'); $this->response = Mockery::mock('\\Illuminate\\Support\\Facades\\Response'); $this->app = Mockery::mock('\\Illuminate\\Foundation\\Application'); $this->carbon = Mockery::mock('\\Carbon\\Carbon'); }
public function setUp() { parent::setUp(); $this->sentry = Mockery::mock('Cartalyst\\Sentry\\Sentry'); }
public function setUp() { parent::setUp(); Artisan::call('larapress:install'); }
public function setUp() { parent::setUp(); Route::enableFilters(); $this->backend_route = Config::get('larapress.urls.backend'); }
public function setUp() { parent::setUp(); $this->config = Mockery::mock('\\Illuminate\\Config\\Repository'); $this->helpers = Mockery::mock('\\Larapress\\Services\\Helpers'); }
public function setUp() { parent::setUp(); $this->helpers = Mockery::mock('\\Larapress\\Interfaces\\HelpersInterface'); }