You are here

public function ImceTest::testLinkIcon in IMCE 8

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

Test linkIcon().

File

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

Class

ImceTest
Kernel tests for Imce plugins for CKEditor.

Namespace

Drupal\Tests\imce\Kernel\Plugin\CKEditorPlugin

Code

public function testLinkIcon() {
  $linkIcon = $this->imce
    ->linkIcon();
  $this
    ->assertTrue(is_string($linkIcon));
  $this
    ->assertTrue(file_exists($linkIcon));
}