public function UpdaterTest::providerInvalidProjectVersions in Automatic Updates 8.2
Data provider for testInvalidProjectVersions().
Return value
array The test cases for testInvalidProjectVersions().
File
- tests/
src/ Kernel/ UpdaterTest.php, line 72
Class
- UpdaterTest
- @coversDefaultClass \Drupal\automatic_updates\Updater
Namespace
Drupal\Tests\automatic_updates\KernelCode
public function providerInvalidProjectVersions() : array {
return [
'only not drupal' => [
[
'not_drupal' => '1.1.3',
],
],
'not drupal and drupal' => [
[
'drupal' => '9.8.0',
'not_drupal' => '1.2.3',
],
],
'empty' => [
[],
],
];
}