Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!9303
Factor out data provider.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Factor out data provider.
issue/drupal-3469709:3469709-speed-up-updatecontribtest
into
11.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Closed
catch
requested to merge
issue/drupal-3469709:3469709-speed-up-updatecontribtest
into
11.x
9 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Closes
#3469709
0
0
Merge request reports
Compare
11.x
11.x (base)
and
latest version
latest version
96231349
1 commit,
9 months ago
1 file
+
10
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/modules/update/tests/src/Functional/UpdateContribTest.php
+
10
−
3
Options
@@ -585,6 +585,15 @@ public function testCoreCompatibilityMessage(): void {
$this
->
assertCoreCompatibilityMessage
(
'8.x-2.2'
,
'8.1.1'
,
'Also available:'
,
FALSE
);
}
/**
* Tests update status of security releases.
*/
public
function
testSecurityUpdateAvailability
():
void
{
foreach
(
static
::
securityUpdateAvailabilityProvider
()
as
$case
)
{
$this
->
doTestSecurityUpdateAvailability
(
$case
[
'module_version'
],
$case
[
'expected_security_releases'
],
$case
[
'expected_update_message_type'
],
$case
[
'fixture'
]);
}
}
/**
* Tests update status of security releases.
*
@@ -596,10 +605,8 @@ public function testCoreCompatibilityMessage(): void {
* The type of update message expected.
* @param string $fixture
* The fixture file to use.
*
* @dataProvider securityUpdateAvailabilityProvider
*/
p
ublic
function
t
estSecurityUpdateAvailability
(
$module_version
,
array
$expected_security_releases
,
$expected_update_message_type
,
$fixture
):
void
{
p
rotected
function
doT
estSecurityUpdateAvailability
(
$module_version
,
array
$expected_security_releases
,
$expected_update_message_type
,
$fixture
):
void
{
$this
->
mockInstalledExtensionsInfo
([
'aaa_update_test'
=>
[
'project'
=>
'aaa_update_test'
,
Loading