Skip to content
Snippets Groups Projects
Commit 2b96d558 authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3328740 by tedbow: Test failing on core 9.x

parent 62d2334e
No related branches found
No related tags found
1 merge request!635Issue #3328740: Test failing on core 9.x
...@@ -57,8 +57,6 @@ class PackageUpdateTest extends TemplateProjectTestBase { ...@@ -57,8 +57,6 @@ class PackageUpdateTest extends TemplateProjectTestBase {
$mink = $this->getMink(); $mink = $this->getMink();
$mink->assertSession()->statusCodeEquals(200); $mink->assertSession()->statusCodeEquals(200);
$file_contents = $mink->getSession()->getPage()->getContent(); $file_contents = $mink->getSession()->getPage()->getContent();
$file_contents = json_decode($file_contents, TRUE); $file_contents = json_decode($file_contents, TRUE);
......
...@@ -54,7 +54,6 @@ class PendingUpdatesValidatorTest extends PackageManagerKernelTestBase { ...@@ -54,7 +54,6 @@ class PendingUpdatesValidatorTest extends PackageManagerKernelTestBase {
* Tests that an error is raised if there are pending post-updates. * Tests that an error is raised if there are pending post-updates.
*/ */
public function testPendingPostUpdate(): void { public function testPendingPostUpdate(): void {
$this->registerPostUpdateFunctions();
// Make an additional post-update function available; the update registry // Make an additional post-update function available; the update registry
// will think it's pending. // will think it's pending.
require_once __DIR__ . '/../../fixtures/post_update.php'; require_once __DIR__ . '/../../fixtures/post_update.php';
...@@ -69,8 +68,6 @@ class PendingUpdatesValidatorTest extends PackageManagerKernelTestBase { ...@@ -69,8 +68,6 @@ class PendingUpdatesValidatorTest extends PackageManagerKernelTestBase {
* Tests that pending updates stop an operation from being applied. * Tests that pending updates stop an operation from being applied.
*/ */
public function testPendingUpdateAfterStaged(): void { public function testPendingUpdateAfterStaged(): void {
$this->registerPostUpdateFunctions();
$stage = $this->createStage(); $stage = $this->createStage();
$stage->create(); $stage->create();
$stage->require(['drupal/core:9.8.1']); $stage->require(['drupal/core:9.8.1']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment