You are here

public function UploadTest::testMessages in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Plugin/ImcePlugin/UploadTest.php \Drupal\Tests\imce\Kernel\Plugin\ImcePlugin\UploadTest::testMessages()

Teste messages on context ImcePlugin\Upload.

File

tests/src/Kernel/Plugin/ImcePlugin/UploadTest.php, line 88

Class

UploadTest
Kernel tests for Imce plugins for Imce Plugin Core.

Namespace

Drupal\Tests\imce\Kernel\Plugin\ImcePlugin

Code

public function testMessages() {
  $messages = $this->imceFM
    ->getMessages();
  $this
    ->assertIsArray($messages);
  $this
    ->assertEquals([], $messages);
}