All is needed is this SQL query to be converted into an entity query.

CommentFileSizeAuthor
nst.patch737 byteschx

Comments

dawehner’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quickfix

+1

+++ b/core/modules/node/src/Tests/NodeSaveTest.php
@@ -49,7 +49,11 @@ protected function setUp() {
+    $nids = \Drupal::entityManager()->getStorage('node')->getQuery()
+      ->sort('nid', 'DESC')

Agreed that this new syntax on the storage is way easier to use.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Test changes are not frozen during beta. Committed d4da92e and pushed to 8.0.x. Thanks!

  • alexpott committed d4da92e on 8.0.x
    Issue #2426729 by chx: NodeSaveTest hardwires SQL
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.