You are here

public static function ImporterTest::assertStatusChooseCalled in GatherContent 8.4

Assert status changed.

1 call to ImporterTest::assertStatusChooseCalled()
ImporterTest::testImport in tests/src/Kernel/ImporterTest.php
Test the import function.

File

tests/src/Kernel/ImporterTest.php, line 70

Class

ImporterTest
Tests for the importer class.

Namespace

Drupal\Tests\gathercontent\Kernel

Code

public static function assertStatusChooseCalled($statusId) {
  static::assertEquals(MockDrupalGatherContentClient::$choosenStatus, $statusId, 'Wrong status was sent to the client.');
}