You are here

protected function ImceFolderTest::setUp in IMCE 8

Same name in this branch
  1. 8 tests/src/Unit/ImceFolderTest.php \Drupal\Tests\imce\Unit\ImceFolderTest::setUp()
  2. 8 tests/src/Kernel/ImceFolderTest.php \Drupal\Tests\imce\Kernel\ImceFolderTest::setUp()
Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/ImceFolderTest.php \Drupal\Tests\imce\Kernel\ImceFolderTest::setUp()

Overrides KernelTestBasePlugin::setUp

File

tests/src/Kernel/ImceFolderTest.php, line 39

Class

ImceFolderTest
Kernel tests for ImceFolder.

Namespace

Drupal\Tests\imce\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->imceFolder = new ImceFolder('js', $this
    ->getConf());
  $this->imceFolder
    ->setFm($this
    ->getImceFM());
  $this->imceFolder
    ->scan();
}