protected function GmapViewsTestCase::error in GMap Module 7.2
Fire an error assertion.
Parameters
$message: The message to display along with the assertion.
$group: The type of assertion - examples are "Browser", "PHP".
$caller: The caller of the error.
Return value
FALSE.
Overrides DrupalTestCase::error
File
- gmap_test/
tests/ gmap_test.test, line 39
Class
- GmapViewsTestCase
- WebTest tests for gmap_test.module.
Code
protected function error($message = '', $group = 'Other', array $caller = NULL) {
if ($message == 'Undefined index: location_settings') {
// change error (Notice) to debug message
return $this
->assert('debug', $message, 'Debug', $caller);
}
return parent::error($message, $group, $caller);
}