You are here

protected function UbercartTestHelper::assertAjaxRaw in Ubercart 7.3

Assert that the specified text is 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 268
Test functionality provided by uc_store.

Class

UbercartTestHelper
Defines a base helper class for Ubercart tests.

Code

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