You are here

public function ImceTest::testImageIcon in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Plugin/CKEditorPlugin/ImceTest.php \Drupal\Tests\imce\Kernel\Plugin\CKEditorPlugin\ImceTest::testImageIcon()

Test imageIcon().

File

tests/src/Kernel/Plugin/CKEditorPlugin/ImceTest.php, line 105

Class

ImceTest
Kernel tests for Imce plugins for CKEditor.

Namespace

Drupal\Tests\imce\Kernel\Plugin\CKEditorPlugin

Code

public function testImageIcon() {
  $imageIcon = $this->imce
    ->imageIcon();
  $this
    ->assertIsString($imageIcon);
  $this
    ->assertTrue(file_exists($imageIcon));
}