$node_1 = $this->drupalCreateNode([
'type' => 'page',
'title' => 'The first node',
- 'changed' => \Drupal::time()->getRequestTime() - 180
+ 'changed' => \Drupal::time()->getRequestTime() - 180,
]);
// Login as administrator and go to admin/content.
$node_2 = $this->drupalCreateNode([
'type' => 'page',
'title' => 'The second node',
- 'changed' => \Drupal::time()->getRequestTime() - 120
+ 'changed' => \Drupal::time()->getRequestTime() - 120,
]);
// Now click 'Apply to selected items' and assert the first node is selected
// Create third node now that the admin overview has been rendered.
$node_3 = $this->drupalCreateNode([
- 'type' => 'page',
- 'title' => 'The third node']
- );
+ 'type' => 'page',
+ 'title' => 'The third node',
+ ]);
// Now click 'Apply to selected items' and assert the second node is
// selected on the confirm form.