You are here

protected function XmlSitemapTestBase::assertNoWatchdogMessage in XML sitemap 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/XmlSitemapTestBase.php \Drupal\Tests\xmlsitemap\Functional\XmlSitemapTestBase::assertNoWatchdogMessage()

Assert No Watchdog Message.

File

tests/src/Functional/XmlSitemapTestBase.php, line 440

Class

XmlSitemapTestBase
Helper test class with some added functions for testing.

Namespace

Drupal\Tests\xmlsitemap\Functional

Code

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