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
!159
Issue
#3257446
: Remove deprecated PHPUnit assertions
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Issue
#3257446
: Remove deprecated PHPUnit assertions
issue/automatic_updates-3257446:3257446-remove-deprecated-phpunit
into
8.x-2.x
Overview
0
Commits
3
Pipelines
0
Changes
2
Merged
Issue #3257446: Remove deprecated PHPUnit assertions
Adam G-H
requested to merge
issue/automatic_updates-3257446:3257446-remove-deprecated-phpunit
into
8.x-2.x
Jan 7, 2022
Overview
0
Commits
3
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
8.x-2.x
version 3
42e45401
Jan 7, 2022
version 2
46fe17fe
Jan 7, 2022
version 1
6d3a710f
Jan 7, 2022
8.x-2.x (base)
and
latest version
latest version
42e45401
3 commits,
Jan 7, 2022
version 3
42e45401
3 commits,
Jan 7, 2022
version 2
46fe17fe
2 commits,
Jan 7, 2022
version 1
6d3a710f
1 commit,
Jan 7, 2022
2 files
+
10
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
tests/src/Build/UpdateTestBase.php
+
9
−
6
View file @ 42e45401
Edit in single-file editor
Open in Web IDE
Show full file
@@ -32,14 +32,17 @@ abstract class UpdateTestBase extends TemplateProjectSiteTestBase {
protected
function
createTestProject
(
string
$template
):
void
{
parent
::
createTestProject
(
$template
);
// BEGIN: DELETE FROM CORE MERGE REQUEST
// Install Automatic Updates into the test project and ensure it wasn't
// symlinked.
$dir
=
'project'
;
$this
->
runComposer
(
'composer config repo.automatic_updates path '
.
__DIR__
.
'/../../..'
,
$dir
);
$this
->
runComposer
(
'composer require --no-update "drupal/automatic_updates:@dev"'
,
$dir
);
$output
=
$this
->
runComposer
(
'COMPOSER_MIRROR_PATH_REPOS=1 composer update --with-all-dependencies'
,
$dir
);
$this
->
assertStringNotContainsString
(
'Symlinking'
,
$output
);
if
(
__NAMESPACE__
===
'Drupal\Tests\automatic_updates\Build'
)
{
$dir
=
'project'
;
$this
->
runComposer
(
'composer config repo.automatic_updates path '
.
__DIR__
.
'/../../..'
,
$dir
);
$this
->
runComposer
(
'composer require --no-update "drupal/automatic_updates:@dev"'
,
$dir
);
$output
=
$this
->
runComposer
(
'COMPOSER_MIRROR_PATH_REPOS=1 composer update --with-all-dependencies'
,
$dir
);
$this
->
assertStringNotContainsString
(
'Symlinking'
,
$output
);
}
// END: DELETE FROM CORE MERGE REQUEST
// Install Drupal. Always allow test modules to be installed in the UI and,
// for easier debugging, always display errors in their dubious glory.
$this
->
installQuickStart
(
'minimal'
);
Loading