public function CoreTest::testSubfolders in IMCE 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/Plugin/ImcePlugin/CoreTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\CoreTest::testSubfolders()
Test subFolders.
File
- tests/
src/ Kernel/ Plugin/ ImcePlugin/ CoreTest.php, line 103
Class
- CoreTest
- Kernel tests for Imce plugins for Imce Plugin Core.
Namespace
Drupal\Tests\imce\Kernel\Plugin\ImcePluginCode
public function testSubfolders() {
$subFolders = $this->imceFM->activeFolder->subfolders;
$this
->assertTrue(is_array($subFolders));
$this
->assert(count($subFolders) > 0);
}