/** @test */ public function it_migrates_a_module() { $this->repository->addLocation(__DIR__ . '/../stubs/Recipe'); $this->artisan('module:migrate', ['module' => 'Recipe']); dd(Schema::hasTable('recipe__recipes'), $this->app['db']->table('recipe__recipes')->get()); }
/** @test */ public function it_can_enable_a_module() { $this->repository->addLocation(__DIR__ . '/stubs/Recipe'); $this->repository->enable('Recipe'); $this->assertTrue($this->repository->active('Recipe')); }