Commit 640f5286 authored by alexpott's avatar alexpott

Issue #2397297 by Berdir, alexpott: EntityQueryTest::testCaseSensitivity() can fail randomly

parent 1f380a65
......@@ -547,7 +547,11 @@ public function testCaseSensitivity() {
$fixtures = array();
for ($i = 0; $i < 2; $i++) {
$string = $this->randomMachineName();
// If the last 4 of the string are all numbers, then there is no
// difference between upper and lowercase and the case sensitive CONTAINS
// test will fail. Ensure that can not happen by appending a non-numeric
// character. See https://www.drupal.org/node/2397297.
$string = $this->randomMachineName(7) . 'a';
$fixtures[] = array(
'original' => $string,
'uppercase' => Unicode::strtoupper($string),
......
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