[2.0] DDC-337 - Collections that are fetched through StandardEntityPersister and ordered are sorted by any given ORDER BY snippet. Now only the DQL Parser is missing in this regard.
This commit is contained in:
parent
30d1b54db1
commit
1f417616cd
@ -73,6 +73,7 @@ abstract class OrmFunctionalTestCase extends OrmTestCase
|
||||
'Doctrine\Tests\Models\Routing\RoutingLeg',
|
||||
'Doctrine\Tests\Models\Routing\RoutingLocation',
|
||||
'Doctrine\Tests\Models\Routing\RoutingRoute',
|
||||
'Doctrine\Tests\Models\Routing\RoutingRouteBooking',
|
||||
),
|
||||
);
|
||||
|
||||
@ -129,6 +130,14 @@ abstract class OrmFunctionalTestCase extends OrmTestCase
|
||||
$conn->executeUpdate('DELETE FROM date_time_model');
|
||||
}
|
||||
|
||||
if (isset($this->_usedModelSets['routing'])) {
|
||||
$conn->executeUpdate('DELETE FROM RoutingRouteLegs');
|
||||
$conn->executeUpdate('DELETE FROM RoutingRouteBooking');
|
||||
$conn->executeUpdate('DELETE FROM RoutingRoute');
|
||||
$conn->executeUpdate('DELETE FROM RoutingLeg');
|
||||
$conn->executeUpdate('DELETE FROM RoutingLocation');
|
||||
}
|
||||
|
||||
$this->_em->clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user