You are here

protected function ManageGitIgnoreTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php \Drupal\Tests\Composer\Plugin\Scaffold\Functional\ManageGitIgnoreTest::setUp()

File

core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php, line 60

Class

ManageGitIgnoreTest
Tests to see whether .gitignore files are correctly managed.

Namespace

Drupal\Tests\Composer\Plugin\Scaffold\Functional

Code

protected function setUp() {
  $this->fileSystem = new Filesystem();
  $this->fixtures = new Fixtures();
  $this->fixtures
    ->createIsolatedComposerCacheDir();
  $this->projectRoot = $this->fixtures
    ->projectRoot();
}