Issue #3244156 by daffie: Update the Drupal\KernelTests\Core\Entity\EntityQueryAggregateTest::testAggregation() a little to make it pass for SQL Server
@@ -139,7 +139,7 @@ public function testAggregation() {
// We need to check that a character exists before and after the table,
// column and alias identifiers. These would be the quote characters
// specific for each database system.
$this->assertMatchesRegularExpression('/'.$aggregation_function.'\(.entity_test.\..id.\) AS .id_'.$aggregation_function.'./',(string)$query,'The argument to the aggregation function should be a quoted field.');
$this->assertMatchesRegularExpression('/'.$aggregation_function.'\(.*entity_test.\..id.\).* AS .id_'.$aggregation_function.'./',(string)$query,'The argument to the aggregation function should be a quoted field.');