protected function ReadinessValidationTest::setUp in Automatic Updates 8.2
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ ReadinessValidationTest.php, line 53
Class
- ReadinessValidationTest
- Tests readiness validation.
Namespace
Drupal\Tests\automatic_updates\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this
->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/drupal.9.8.1.xml');
$this
->setCoreVersion('9.8.1');
$this->reportViewerUser = $this
->createUser([
'administer site configuration',
'access administration pages',
]);
$this->checkerRunnerUser = $this
->createUser([
'administer site configuration',
'administer software updates',
'access administration pages',
]);
$this
->createTestValidationResults();
$this
->drupalLogin($this->reportViewerUser);
}