Ejemplo n.º 1
0
 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());
 }
Ejemplo n.º 2
0
 protected function interact(InputInterface $input, OutputInterface $output)
 {
     $this->project = isset($this->project) ? $this->project : Project::onDirectory(getcwd());
 }
Ejemplo n.º 3
0
 public function setUp()
 {
     $this->filesystem = Project::filesystem();
     $this->filesystem->makeDirectory('testing_dir/');
 }