Issue #3151981 by daffie, Hardik_Patel_12, catch: Replace the database query with an entity query in NodeRevisionsAllTest

merge-requests/2/head
catch 2020-07-13 13:09:23 +01:00
parent 207fb2b303
commit 595c96eee9
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ class NodeRevisionsAllTest extends NodeTestBase {
'Revision deleted.');
$nids = \Drupal::entityQuery('node')
->allRevisions()
->accessCheck(FALSE)
->condition('nid', $node->id())
->condition('vid', $nodes[1]->getRevisionId())
->execute();