You are here

public function NodeImportTestCase::assertRowStatusPENDING in Node import 6

Check to see if the row status is NODE_IMPORT_STATUS_PENDING.

Parameters

$result: Record from {node_import_status}.

$message: Message to display along with the assertion.

$group: The type of assertion - examples are "Browser", "PHP".

Return value

TRUE if the assertion succeeded, FALSE otherwise.

File

tests/NodeImportTestCase.php, line 275
DrupalWebTestCase wrapper with some extra functions to ease the development of node_import tests.

Class

NodeImportTestCase
@file DrupalWebTestCase wrapper with some extra functions to ease the development of node_import tests.

Code

public function assertRowStatusPENDING($result, $message = '', $group = 'Node import') {
  return $this
    ->assertRowStatus($result, NODE_IMPORT_STATUS_PENDING, $message ? $message : t('Row status set to PENDING.'), $group);
}