diff --git a/core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php b/core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php index 11e89f247c..8d650a774b 100644 --- a/core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php +++ b/core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php @@ -45,6 +45,15 @@ public function testNonLatinCharacters() { 科州的小九寨沟绝美高山湖泊酱凉拌素鸡照烧鸡黄玫瑰'; \Drupal::logger('my_module')->warning('test', ['link' => $link]); + + $log = \Drupal::database() + ->select('watchdog', 'w') + ->fields('w', ['link']) + ->condition('link', '', '<>') + ->execute() + ->fetchField(); + + $this->assertEquals($log, $link); } /**