Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!352
Issue
#3285145
: CronFrequencyValidatorTest should use a virtual project
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Issue
#3285145
: CronFrequencyValidatorTest should use a virtual project
issue/automatic_updates-3285145:3285145-cronfrequencyvalidatortest-should-use
into
8.x-2.x
Overview
4
Commits
2
Pipelines
0
Changes
1
1 open thread
Hide all comments
Merged
Issue #3285145: CronFrequencyValidatorTest should use a virtual project
Adam G-H
requested to merge
issue/automatic_updates-3285145:3285145-cronfrequencyvalidatortest-should-use
into
8.x-2.x
Jun 22, 2022
Overview
4
Commits
2
Pipelines
0
Changes
1
1 open thread
Hide all comments
0
0
Merge request reports
Compare
8.x-2.x
version 1
b5d4a2ad
Jun 22, 2022
8.x-2.x (base)
and
latest version
latest version
30c4669c
2 commits,
Jun 22, 2022
version 1
b5d4a2ad
1 commit,
Jun 22, 2022
1 file
+
8
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/src/Kernel/ReadinessValidation/CronFrequencyValidatorTest.php
+
8
−
8
View file @ 30c4669c
Edit in single-file editor
Open in Web IDE
Show full file
@@ -25,15 +25,15 @@ class CronFrequencyValidatorTest extends AutomaticUpdatesKernelTestBase {
* {@inheritdoc}
*/
protected
function
setUp
():
void
{
// Disable the symlink validator so that the test isn't affected by symlinks
// or other unexpected things that might be present in the running code
// base.
// @todo Make this test use a virtual project in
// https://drupal.org/i/3285145.
$this
->
disableValidators
[]
=
'automatic_updates.validator.symlink'
;
$this
->
disableValidators
[]
=
'package_manager.validator.symlink'
;
parent
::
setUp
();
$this
->
setCoreVersion
(
'9.8.0'
);
// Run with a virtual project so that the test isn't affected by any
// symbolic links or other artifacts that might be in the running code
// base.
$this
->
createTestProject
();
// In this test, we do not want to do an update. We're just testing that
// cron is configured to run frequently enough to do automatic updates. So,
// pretend we're already on the latest secure version of core.
$this
->
setCoreVersion
(
'9.8.1'
);
$this
->
setReleaseMetadata
([
'drupal'
=>
__DIR__
.
'/../../../fixtures/release-history/drupal.9.8.1-security.xml'
]);
}
Loading