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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!983
Issue
#3399155
Remove use of file_to_return
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3399155
Remove use of file_to_return
issue/automatic_updates-3399155:3399155-remove-file-to-return
into
3.0.x
Overview
1
Commits
6
Pipelines
2
Changes
7
1 unresolved thread
Hide all comments
Merged
Ted Bowman
requested to merge
issue/automatic_updates-3399155:3399155-remove-file-to-return
into
3.0.x
1 year ago
Overview
1
Commits
6
Pipelines
2
Changes
5
1 unresolved thread
Hide all comments
Expand
Closes
#3399155
0
0
Merge request reports
Compare
version 2
version 6
65592615
1 year ago
version 5
8aaecbde
1 year ago
version 4
6990c058
1 year ago
version 3
22353ddc
1 year ago
version 2
da65e323
1 year ago
version 1
9c9fcdd7
1 year ago
3.0.x (base)
and
version 3
latest version
65592615
6 commits,
1 year ago
version 6
65592615
6 commits,
1 year ago
version 5
8aaecbde
5 commits,
1 year ago
version 4
6990c058
4 commits,
1 year ago
version 3
22353ddc
3 commits,
1 year ago
version 2
da65e323
2 commits,
1 year ago
version 1
9c9fcdd7
1 commit,
1 year ago
Show latest version
5 files
+
16
−
49
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
automatic_updates_extensions/tests/src/Build/ModuleUpdateTest.php
+
3
−
5
Options
@@ -81,11 +81,8 @@ END;
$this
->
assertStringContainsString
(
'The project new_module is not a Drupal project known to Composer and cannot be updated.'
,
$page_text
);
$this
->
assertStringContainsString
(
'new_module'
,
$page_text
);
// Use the API endpoint to create a stage and update the 'alpha' module to
// 1.1.0. We ask the API to return the contents of the module's
// composer.json file, so we can assert that they were updated to the
// version we expect.
// @see \Drupal\automatic_updates_extensions_test_api\ApiController::run()
$this
->
getPackageManagerTestApiResponse
(
// 1.1.0.
$this
->
makePackageManagerTestApiRequest
(
'/automatic-updates-extensions-test-api'
,
[
'projects'
=>
[
@@ -95,6 +92,7 @@ END;
);
$updated_composer_json
=
$this
->
getWebRoot
()
.
'modules/contrib/alpha/composer.json'
;
// Assert the module was updated.
$this
->
assertFileEquals
(
__DIR__
.
'/../../../../package_manager/tests/fixtures/build_test_projects/alpha/1.1.0/composer.json'
,
$updated_composer_json
,
Loading