protected function XmlSitemapTestBase::assertWatchdogMessage in XML sitemap 2.x
Same name and namespace in other branches
- 8 tests/src/Functional/XmlSitemapTestBase.php \Drupal\Tests\xmlsitemap\Functional\XmlSitemapTestBase::assertWatchdogMessage()
Assert Watchdog Message.
3 calls to XmlSitemapTestBase::assertWatchdogMessage()
- XmlSitemapEnginesFunctionalTest::testCustomURL in xmlsitemap_engines/
tests/ src/ Functional/ XmlSitemapEnginesFunctionalTest.php - Check if custom urls are functional.
- XmlSitemapEnginesFunctionalTest::testPing in xmlsitemap_engines/
tests/ src/ Functional/ XmlSitemapEnginesFunctionalTest.php - Check if ping works.
- XmlSitemapEnginesFunctionalTest::testSubmitSitemaps in xmlsitemap_engines/
tests/ src/ Functional/ XmlSitemapEnginesFunctionalTest.php - Create sitemaps and send them to search engines.
File
- tests/
src/ Functional/ XmlSitemapTestBase.php, line 433
Class
- XmlSitemapTestBase
- Helper test class with some added functions for testing.
Namespace
Drupal\Tests\xmlsitemap\FunctionalCode
protected function assertWatchdogMessage(array $conditions, $message = 'Watchdog message found.') {
$this
->assertNotEmpty($this
->getWatchdogMessages($conditions), $message);
}