function test_it_sees_if_the_env_db_host_is_localhost() { $this->filesystem->put('.env', 'DB_HOST=localhost'); $project = new Project($this->filesystem, __DIR__); $this->assertTrue($project->dbIsLocalhost()); }
protected function interact(InputInterface $input, OutputInterface $output) { $this->project = isset($this->project) ? $this->project : Project::onDirectory(getcwd()); }
public function setUp() { $this->filesystem = Project::filesystem(); $this->filesystem->makeDirectory('testing_dir/'); }