diff --git a/core/modules/system/src/Tests/Module/PrepareUninstallTest.php b/core/modules/system/src/Tests/Module/PrepareUninstallTest.php index ce1daaf..da1e7e3 100644 --- a/core/modules/system/src/Tests/Module/PrepareUninstallTest.php +++ b/core/modules/system/src/Tests/Module/PrepareUninstallTest.php @@ -40,7 +40,6 @@ public function setUp() { * Tests that Node module can be uninstalled. */ public function testUninstall() { - // Check Node cannot be uninstalled yet, there is content to be removed. $this->drupalGet('admin/modules/uninstall'); $this->assertText(t('Remove content items')); @@ -49,7 +48,7 @@ public function testUninstall() { // Delete Node data. $this->drupalGet('admin/modules/uninstall/entity/node'); $this->assertText(t('There are 4 content items to remove. This action cannot be undone.')); - $this->drupalPostForm(NULL, [], t('Delete all content items')); + $this->drupalPostForm(NULL, ['limit' => 1], t('Delete all content items')); // Check we are redirected to the uninstall page and data has been removed. $this->assertUrl('admin/modules/uninstall', []);