You are here

function NodeConvertTestCase::testInvalidNidConvert in Node Convert 6

Same name and namespace in other branches
  1. 7 node_convert.test \NodeConvertTestCase::testInvalidNidConvert()

File

./node_convert.test, line 54
Node convert Simpletest Unit

Class

NodeConvertTestCase
@file Node convert Simpletest Unit

Code

function testInvalidNidConvert() {
  $result = node_convert_node_convert(-1, $this
    ->randomName(4), array(), array(), TRUE);
  $this
    ->assertFalse($result, t("Node conversion didn't pass due to illegal nid."));
}