File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
tests/Tests/ORM/Functional Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 24
24
25
25
jobs :
26
26
coding-standards :
27
- uses : " doctrine/.github/.github/workflows/coding-standards.yml@7.2.1 "
27
+ uses : " doctrine/.github/.github/workflows/coding-standards.yml@7.2.2 "
Original file line number Diff line number Diff line change 17
17
jobs :
18
18
documentation :
19
19
name : " Documentation"
20
- uses : " doctrine/.github/.github/workflows/documentation.yml@7.2.1 "
20
+ uses : " doctrine/.github/.github/workflows/documentation.yml@7.2.2 "
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
release :
10
- uses : " doctrine/.github/.github/workflows/release-on-milestone-closed.yml@7.2.1 "
10
+ uses : " doctrine/.github/.github/workflows/release-on-milestone-closed.yml@7.2.2 "
11
11
secrets :
12
12
GIT_AUTHOR_EMAIL : ${{ secrets.GIT_AUTHOR_EMAIL }}
13
13
GIT_AUTHOR_NAME : ${{ secrets.GIT_AUTHOR_NAME }}
Original file line number Diff line number Diff line change @@ -538,7 +538,9 @@ public function testModifiedLimitQuery(): void
538
538
$ this ->_em ->flush ();
539
539
$ this ->_em ->clear ();
540
540
541
- $ data = $ this ->_em ->createQuery ('SELECT u FROM ' . CmsUser::class . ' u ' )
541
+ $ query = 'SELECT u FROM ' . CmsUser::class . ' u ORDER BY u.username ' ;
542
+
543
+ $ data = $ this ->_em ->createQuery ($ query )
542
544
->setFirstResult (1 )
543
545
->setMaxResults (2 )
544
546
->getResult ();
@@ -547,7 +549,7 @@ public function testModifiedLimitQuery(): void
547
549
self ::assertEquals ('gblanco1 ' , $ data [0 ]->username );
548
550
self ::assertEquals ('gblanco2 ' , $ data [1 ]->username );
549
551
550
- $ data = $ this ->_em ->createQuery (' SELECT u FROM ' . CmsUser::class . ' u ' )
552
+ $ data = $ this ->_em ->createQuery ($ query )
551
553
->setFirstResult (3 )
552
554
->setMaxResults (2 )
553
555
->getResult ();
@@ -556,7 +558,7 @@ public function testModifiedLimitQuery(): void
556
558
self ::assertEquals ('gblanco3 ' , $ data [0 ]->username );
557
559
self ::assertEquals ('gblanco4 ' , $ data [1 ]->username );
558
560
559
- $ data = $ this ->_em ->createQuery (' SELECT u FROM ' . CmsUser::class . ' u ' )
561
+ $ data = $ this ->_em ->createQuery ($ query )
560
562
->setFirstResult (3 )
561
563
->setMaxResults (2 )
562
564
->getScalarResult ();
You can’t perform that action at this time.
0 commit comments