Skip to content
Snippets Groups Projects

Issue #3328740: Test failing on core 9.x

1 unresolved thread

Merge request reports

Merged results pipeline #8763 skipped

Merged results pipeline skipped for 3ce4fb37

Merged by Ted BowmanTed Bowman 2 years ago (Dec 22, 2022 8:23pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
69 68 * Tests that pending updates stop an operation from being applied.
70 69 */
71 70 public function testPendingUpdateAfterStaged(): void {
72 $this->registerPostUpdateFunctions();
  • Author Maintainer

    This is the test that failed. There is no need to call registerPostUpdateFunctions() here because it is last thing called in \Drupal\Tests\package_manager\Kernel\PackageManagerKernelTestBase::setUp. This class does not override this.

    I think the problem is that before that in setup \Drupal\KernelTests\KernelTestBase::installConfig is call which will trigger \Drupal\Core\Update\UpdateRegistry::__construct.

    If this passes all test scenarios I will commit it

  • Please register or sign in to reply
  • Ted Bowman added 1 commit
  • merged

  • Please register or sign in to reply
    Loading