Inheritance: extends Orchestra\Testbench\TestCase
コード例 #1
0
 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();
 }
コード例 #2
0
 public function tearDown()
 {
     $this->finder->deleteDirectory($this->modulePath);
     parent::tearDown();
 }
コード例 #3
0
 public function tearDown()
 {
     $this->finder->deleteDirectory($this->modulePath);
     $this->finder->delete($this->finder->allFiles(base_path('database/migrations')));
     parent::tearDown();
 }
コード例 #4
0
 public function setUp()
 {
     parent::setUp();
     $this->repository = new Repository($this->app);
     $this->finder = $this->app['files'];
 }
コード例 #5
0
 public function setUp()
 {
     parent::setUp();
     $this->module = new Module($this->app, 'Recipe', __DIR__ . '/stubs/Recipe');
 }
コード例 #6
0
ファイル: JsonTest.php プロジェクト: nwidart/laravel-modules
 public function setUp()
 {
     parent::setUp();
     $path = __DIR__ . '/stubs/module.json';
     $this->json = new Json($path, $this->app['files']);
 }
コード例 #7
0
 public function setUp()
 {
     parent::setUp();
     $this->repository = new Repository($this->app);
 }