Issue #3230249: Set the project versions to be updated in begin() instead
Merge request reports
Activity
- Resolved by Ted Bowman
- Resolved by Adam G-H
- Resolved by Adam G-H
- Resolved by Ted Bowman
- Resolved by Ted Bowman
- Resolved by Adam G-H
- Resolved by Ted Bowman
- tests/src/Kernel/UpdaterTest.php 0 → 100644
46 47 /** 48 * @covers ::begin 49 * 50 * @dataProvider providerInvalidProjectVersions 51 */ 52 public function testInvalidProjectVersions(array $project_versions): void { 53 $this->expectException(\InvalidArgumentException::class); 54 $this->expectExceptionMessage('Currently only updates to Drupal core are supported.'); 55 $this->container->get('automatic_updates.updater')->begin($project_versions); 56 } 57 58 /** 59 * @covers ::begin 60 */ 61 public function testDrupalVersionAllowed(): void { changed this line in version 14 of the diff
Please register or sign in to reply