You are here

protected function UbercartTestHelper::assertNoAjaxText in Ubercart 7.3

Assert that the specified text is not present in the plain text version of the html that would be inserted into the page if this ajax response were executed.

Parameters

$ajax: The ajax response to test. Must be an array of ajax commands as returned by drupalPostAjax().

$text: The text to search for.

$message: The assertion message.

File

uc_store/tests/uc_store.test, line 254
Test functionality provided by uc_store.

Class

UbercartTestHelper
Defines a base helper class for Ubercart tests.

Code

protected function assertNoAjaxText($ajax, $text, $message = FALSE) {
  $this
    ->assertAjaxHelper($ajax, $text, $message, TRUE, TRUE);
}