Inheritance: extends Orchestra\Testbench\TestCase
 public function tearDown()
 {
     $this->finder->deleteDirectory($this->modulePath);
     if ($this->finder->isDirectory(base_path('modules/ModuleName'))) {
         $this->finder->deleteDirectory(base_path('modules/ModuleName'));
     }
     parent::tearDown();
 }
 public function tearDown()
 {
     $this->finder->deleteDirectory($this->modulePath);
     parent::tearDown();
 }
 public function tearDown()
 {
     $this->finder->deleteDirectory($this->modulePath);
     $this->finder->delete($this->finder->allFiles(base_path('database/migrations')));
     parent::tearDown();
 }
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']);
 }
Ejemplo n.º 7
0
 public function setUp()
 {
     parent::setUp();
     $this->repository = new Repository($this->app);
 }