}
}
-
/**
* Tests just using the filter.
*/
$users = [$this->randomMachineName()];
$users = array_map('strtolower', $users);
$edit = [
- 'options[value]' => implode(', ', $users)
+ 'options[value]' => implode(', ', $users),
];
$this->drupalPostForm($path, $edit, t('Apply'));
$this->assertRaw(t('There are no entities matching "%value".', ['%value' => implode(', ', $users)]));
$users = [$random_name, $this->names[0]];
$users = array_map('strtolower', $users);
$edit = [
- 'options[value]' => implode(', ', $users)
+ 'options[value]' => implode(', ', $users),
];
$users = [$users[0]];
$this->drupalPostForm($path, $edit, t('Apply'));
$users = $this->names;
$users = array_map('strtolower', $users);
$edit = [
- 'options[value]' => implode(', ', $users)
+ 'options[value]' => implode(', ', $users),
];
$this->drupalPostForm($path, $edit, t('Apply'));
$this->assertNoRaw(t('There are no entities matching "%value".', ['%value' => implode(', ', $users)]));