You are here

public function NodeImportTestCase::assertRowStatusDONE in Node import 6

Check to see if the row status is NODE_IMPORT_STATUS_DONE.

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.

1 call to NodeImportTestCase::assertRowStatusDONE()
NodeImportNode::testBasicNode in tests/supported/node.test
Test import of basic node.

File

tests/NodeImportTestCase.php, line 237
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 assertRowStatusDONE($result, $message = '', $group = 'Node import') {
  return $this
    ->assertRowStatus($result, NODE_IMPORT_STATUS_DONE, $message ? $message : t('Row status set to DONE.'), $group);
}