You are here

protected function XMLSitemapTestHelper::assertNoWatchdogMessage in XML sitemap 7.2

Same name and namespace in other branches
  1. 6.2 xmlsitemap.test \XMLSitemapTestHelper::assertNoWatchdogMessage()

Assert No Watchdog Message.

File

./xmlsitemap.test, line 350
Unit tests for the xmlsitemap.

Class

XMLSitemapTestHelper
Helper test class with some added functions for testing.

Code

protected function assertNoWatchdogMessage(array $conditions, $message = 'Watchdog message not found.') {
  $this
    ->assertFalse($this
    ->getWatchdogMessages($conditions), $message);
}