/** @test */ function it_returns_the_class_path() { $builder = $this->getBuilder(); $this->assertEquals(generated_path() . '/Forms/EditProjectForm.php', $builder->getClassFilePath('project')); }
/** * Getter for entity base path * * @return string */ public function getBasePath() { return generated_path('Entities'); }
/** * Getter for entity base path * * @return string */ public function getBasePath() { return generated_path('Forms'); }
/** @test */ function it_returns_the_class_path() { $builder = $this->getBuilder(); $this->assertEquals(generated_path() . '/Entities/NsProject.php', $builder->getClassFilePath('project')); }
/** * Getter for entity base path * * @return string */ public function getBasePath() { return generated_path('Migrations'); }
/** @test */ function it_returns_migration_path_for_table_fields() { $builder = $this->getBuilder(); $this->assertEquals(generated_path() . '/Migrations/HierarchyCreateDateFieldForProjectSourceTable.php', $builder->getMigrationPath('project', 'date')); }
/** @test */ function it_registers_generated_path_helper() { $this->assertEquals($this->app['path.generated'], generated_path()); }