
| Current Path : /var/www/html1/testsite/web/core/modules/action/tests/src/Functional/Update/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/testsite/web/core/modules/action/tests/src/Functional/Update/ActionConfigTest.php |
<?php
namespace Drupal\Tests\action\Functional\Update;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
/**
* Tests removing action module's configuration.
*
* @group Update
* @group legacy
*/
class ActionConfigTest extends UpdatePathTestBase {
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [
__DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.8.0.bare.standard.php.gz',
__DIR__ . '/../../../../tests/fixtures/update/drupal-8.action-3022401.php',
];
}
/**
* Tests upgrading action settings.
*
* @see \action_post_update_remove_settings()
*/
public function testUpdateActionPlugins() {
$config = $this->config('action.settings');
$this->assertSame(35, $config->get('recursion_limit'));
// Run updates.
$this->runUpdates();
$config = $this->config('action.settings');
$this->assertTrue($config->isNew());
}
}