You are here

public function VendorHardeningPluginTest::setUp in Drupal 8

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

File

core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php, line 20

Class

VendorHardeningPluginTest
@coversDefaultClass \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin @group VendorHardening

Namespace

Drupal\Tests\Composer\Plugin\VendorHardening

Code

public function setUp() {
  parent::setUp();
  vfsStream::setup('vendor', NULL, [
    'drupal' => [
      'package' => [
        'tests' => [
          'SomeTest.php' => '<?php',
        ],
      ],
    ],
  ]);
}