1.20.x field_ui.test FieldUIManageDisplayTestCase::assertNodeViewNoText(Node $node, $view_mode, $text, $message)

Asserts that a string is not found in the rendered node in a display mode.

Parameters

Node $node: The node.

$view_mode: The display mode in which the node should be displayed.

$text: Plain text to look for.

$message: Message to display.

Return value

TRUE on pass, FALSE on fail.:

File

modules/field_ui/tests/field_ui.test, line 723
Tests for field_ui.module.

Class

FieldUIManageDisplayTestCase
Tests the functionality of the 'Manage displays' screens.

Code

function assertNodeViewNoText(Node $node, $view_mode, $text, $message) {
  return $this->assertNodeViewTextHelper($node, $view_mode, $text, $message, TRUE);
}