Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
881edb14
Commit
881edb14
authored
Oct 30, 2012
by
Angie Byron
Browse files
Issue
#1827436
by chx: Fixed EFQ sort test is broken.
parent
76a157fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
View file @
881edb14
...
...
@@ -68,10 +68,10 @@ function setUp() {
$bundles
=
array
();
for
(
$i
=
0
;
$i
<
2
;
$i
++
)
{
// For the sake of tablesort, make sure the second bundle is higher than
// the first one.
// the first one.
Beware: MySQL is not case sensitive.
do
{
$bundle
=
$this
->
randomName
();
}
while
(
$bundles
&&
$bundles
[
0
]
>=
$bundle
);
}
while
(
$bundles
&&
strtolower
(
$bundles
[
0
]
)
>=
strtolower
(
$bundle
)
)
;
field_test_create_bundle
(
$bundle
);
foreach
(
$fields
as
$field
)
{
$instance
=
array
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment