setUp() public method

public setUp ( )
 public function setUp()
 {
     parent::setUp();
     $this->modulePath = base_path('modules/Blog');
     $this->finder = $this->app['files'];
     $this->artisan('module:make', ['name' => ['Blog']]);
 }
 public function setUp()
 {
     parent::setUp();
     $this->modulePath = base_path('modules/Blog');
     $this->finder = $this->app['files'];
     $this->artisan('module:make', ['name' => ['Blog']]);
     $this->artisan('module:make-migration', ['name' => 'create_posts_table', 'module' => 'Blog']);
 }
Ejemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $this->modulePath = base_path('modules/Blog');
     $this->finder = $this->app['files'];
     $this->artisan('module:make', ['name' => ['Blog']]);
     $this->finder->put($this->modulePath . '/Assets/script.js', 'assetfile');
 }
Ejemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->repository = new Repository($this->app);
     $this->finder = $this->app['files'];
 }
Ejemplo n.º 5
0
 public function setUp()
 {
     parent::setUp();
     $this->module = new Module($this->app, 'Recipe', __DIR__ . '/stubs/Recipe');
 }
Ejemplo n.º 6
0
 public function setUp()
 {
     parent::setUp();
     $path = __DIR__ . '/stubs/module.json';
     $this->json = new Json($path, $this->app['files']);
 }
 public function setUp()
 {
     parent::setUp();
     $this->modulePath = base_path('modules/Blog');
     $this->finder = $this->app['files'];
 }
Ejemplo n.º 8
0
 public function setUp()
 {
     parent::setUp();
     $this->repository = new Repository($this->app);
 }