Commit 287b15b5 authored by stefan.korn's avatar stefan.korn Committed by lussoluca

Issue #3001202 by stefan.korn: Devel tests are failing

parent e9354f8e
......@@ -69,7 +69,7 @@ class DevelQueryDebugTest extends KernelTestBase {
// permissions. We expect only one status message containing the SQL for
// the debugged query.
\Drupal::currentUser()->setAccount($this->develUser);
$expected_message = "SELECT u.uid AS uid\nFROM \n{users} u";
$expected_message = "SELECT u.uid AS uid\nFROM\n{users} u";
$query = \Drupal::database()->select('users', 'u');
$query->fields('u', ['uid']);
......@@ -102,7 +102,7 @@ class DevelQueryDebugTest extends KernelTestBase {
// permissions. We expect only one status message containing the SQL for
// the debugged entity query.
\Drupal::currentUser()->setAccount($this->develUser);
$expected_message = "SELECT base_table.uid AS uid, base_table.uid AS base_table_uid\nFROM \n{users} base_table";
$expected_message = "SELECT base_table.uid AS uid, base_table.uid AS base_table_uid\nFROM\n{users} base_table";
$query = \Drupal::entityQuery('user');
$query->addTag('debug');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment