public function CoreTest::testSubfolders in IMCE 8.2
Same name and namespace in other branches
- 8 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
->assertIsArray($subFolders);
$this
->assertTrue(count($subFolders) > 0);
}