Skip to content
Snippets Groups Projects

Issue #3230249: Set the project versions to be updated in begin() instead

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Adam G-H
  • Ted Bowman added 1 commit

    added 1 commit

    • cde78e59 - Use InvalidArgument Exception

    Compare with previous version

  • Ted Bowman added 1 commit

    added 1 commit

    • e1afd970 - ignore all updates besides drupal core

    Compare with previous version

  • Ted Bowman added 3 commits

    added 3 commits

    • fcbb50e6 - 1 commit from branch project:8.x-2.x
    • cbb30600 - Merge branch '8.x-2.x' into 3230249-set-the-project
    • 5cb3a81d - add unit test

    Compare with previous version

  • Ted Bowman added 1 commit

    added 1 commit

    Compare with previous version

  • Ted Bowman
  • Adam G-H
  • Adam G-H
  • Adam G-H
  • Adam G-H
  • Ted Bowman added 1 commit

    added 1 commit

    • f2cc80ca - Apply 2 suggestion(s) to 1 file(s)

    Compare with previous version

  • Ted Bowman added 1 commit

    added 1 commit

    Compare with previous version

  • Ted Bowman added 1 commit

    added 1 commit

    • bc3d0f13 - only allow staging drupal core

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    • c288ca14 - Actually exclude sites/default

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    • 29c8b13e - Revert "Actually exclude sites/default"

    Compare with previous version

  • 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 {
  • Ted Bowman added 2 commits

    added 2 commits

    • d8384b58 - 1 commit from branch project:8.x-2.x
    • 56ce57d8 - Merge branch '8.x-2.x' into 3230249-set-the-project

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading