UpdatePathTest.php in Consumers 8
File
tests/src/Functional/UpdatePathTest.php
View source
<?php
namespace Drupal\Tests\consumers\Functional;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
class UpdatePathTest extends UpdatePathTestBase {
protected function setDatabaseDumpFiles() {
if (file_exists($this
->getDrupalRoot() . '/core/modules/system/tests/fixtures/update/drupal-8.8.0.bare.standard.php.gz')) {
$this->databaseDumpFiles = [
$this
->getDrupalRoot() . '/core/modules/system/tests/fixtures/update/drupal-8.8.0.bare.standard.php.gz',
__DIR__ . '/../../drupal-8.4.0-consumers_installed.php',
];
}
else {
$this->databaseDumpFiles = [
__DIR__ . '/../../drupal-8.4.0.bare.standard.php.gz',
__DIR__ . '/../../drupal-8.4.0-consumers_installed.php',
];
}
}
public function testUpdatePath() {
$this
->runUpdates();
}
}