You are here

public function CoreTest::testScan in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Plugin/ImcePlugin/CoreTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\CoreTest::testScan()

Test scan().

File

tests/src/Kernel/Plugin/ImcePlugin/CoreTest.php, line 122

Class

CoreTest
Kernel tests for Imce plugins for Imce Plugin Core.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

public function testScan() {
  $this
    ->assertTrue(is_bool($this->imceFM->activeFolder->scanned));
  $this
    ->assertTrue($this->imceFM->activeFolder->scanned);
}