public function NodeImportTestCase::assertRowStatusERROR in Node import 6
Check to see if the row status is NODE_IMPORT_STATUS_ERROR.
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::assertRowStatusERROR()
- NodeImportNode::testBasicNode in tests/
supported/ node.test - Test import of basic node.
File
- tests/
NodeImportTestCase.php, line 256 - 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 assertRowStatusERROR($result, $message = '', $group = 'Node import') {
return $this
->assertRowStatus($result, NODE_IMPORT_STATUS_ERROR, $message ? $message : t('Row status set to ERROR.'), $group);
}