Esempio n. 1
0
 public function setUp()
 {
     parent::setUp();
     $this->model = 'Post';
     $this->var = strtolower($this->model) . 's';
     $this->url = Config::get('empower::baseurl') . '/' . $this->var;
     $this->route = Config::get('empower::baseurl') . '.' . $this->var;
     $this->factory = 'Sorora\\Bms\\Models\\' . $this->model;
     $this->mock = $this->mock('Sorora\\Bms\\Models\\Repositories\\' . $this->model . '\\' . $this->model . 'RepositoryInterface');
 }
Esempio n. 2
0
 public function setUp()
 {
     parent::setUp();
     $this->url = Config::get('bms::baseurl');
 }
Esempio n. 3
0
 public function setUp()
 {
     parent::setUp();
     $this->prefix = Config::get('aurp::prefix') ? Config::get('aurp::prefix') . '/' : null;
     // $this->mock = Mockery::mock('Auth');
 }