Issue #3328740: Test failing on core 9.x
1 unresolved thread
Merge request reports
Activity
added 1 commit
- b49c171a - remove registerPostUpdateFunctions call because this happens in base setup
69 68 * Tests that pending updates stop an operation from being applied. 70 69 */ 71 70 public function testPendingUpdateAfterStaged(): void { 72 $this->registerPostUpdateFunctions(); 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