public function DeleteTest::testPermissiomInfo in IMCE 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/Plugin/ImcePlugin/DeleteTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\DeleteTest::testPermissiomInfo()
Test Delete::permissionInfo()
File
- tests/
src/ Kernel/ Plugin/ ImcePlugin/ DeleteTest.php, line 116
Class
- DeleteTest
- Kernel tests for Imce plugins for Imce Plugin Core.
Namespace
Drupal\Tests\imce\Kernel\Plugin\ImcePluginCode
public function testPermissiomInfo() {
$permissionInfo = $this->delete
->permissionInfo();
$this
->assertIsArray($permissionInfo);
$this
->assertTrue(in_array('Delete files', $permissionInfo));
$this
->assertTrue(in_array('Delete subfolders', $permissionInfo));
}