You are here

protected function UbercartTestHelper::assertNoAjaxRaw in Ubercart 7.3

Assert that the specified text is not present in the raw drupal ajax response.

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 282
Test functionality provided by uc_store.

Class

UbercartTestHelper
Defines a base helper class for Ubercart tests.

Code

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