public function ResizeTest::testPermissiomInfo in IMCE 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\ResizeTest::testPermissiomInfo()
Test Resize::permissionInfo()
File
- tests/
src/ Kernel/ Plugin/ ImcePlugin/ ResizeTest.php, line 142
Class
- ResizeTest
- Kernel tests for Imce plugins for Imce Plugin Core.
Namespace
Drupal\Tests\imce\Kernel\Plugin\ImcePluginCode
public function testPermissiomInfo() {
$permissionInfo = $this->resize
->permissionInfo();
$this
->assertTrue(is_array($permissionInfo));
$this
->assertTrue(in_array($this
->t('Resize images'), $permissionInfo));
}