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
!10345
Path Variants
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Path Variants
issue/drupal-3489872:3489872-dpi-path-variants
into
11.x
Overview
1
Commits
2
Pipelines
2
Changes
29
1 unresolved thread
Hide all comments
Open
dpi
requested to merge
issue/drupal-3489872:3489872-dpi-path-variants
into
11.x
5 months ago
Overview
1
Commits
2
Pipelines
2
Changes
29
1 unresolved thread
Hide all comments
Expand
Formerly MR!10315 /
!10315 (closed)
Closes
#3489872
0
0
Merge request reports
Compare
11.x
version 1
028022db
5 months ago
11.x (base)
and
latest version
latest version
f5c2e386
2 commits,
5 months ago
version 1
028022db
1 commit,
5 months ago
29 files
+
813
−
121
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
29
Search (e.g. *.vue) (Ctrl+P)
core/modules/jsonapi/tests/src/Functional/NodeTest.php
+
7
−
4
Options
@@ -173,9 +173,12 @@ protected function getExpectedDocument(): array {
'default_langcode'
=>
TRUE
,
'langcode'
=>
'en'
,
'path'
=>
[
'alias'
=>
'/llama'
,
'pid'
=>
1
,
'langcode'
=>
'en'
,
[
'alias'
=>
'/llama'
,
'pid'
=>
1
,
'langcode'
=>
'en'
,
'variant'
=>
'default'
,
],
],
'promote'
=>
TRUE
,
'revision_timestamp'
=>
'1973-11-29T21:33:09+00:00'
,
@@ -294,7 +297,7 @@ public function testPatchPath(): void {
$normalization
=
$this
->
getDocumentFromResponse
(
$response
);
// Change node's path alias.
$normalization
[
'data'
][
'attributes'
][
'path'
][
'alias'
]
.
=
's-rule-the-world'
;
$normalization
[
'data'
][
'attributes'
][
'path'
][
0
][
'alias'
]
.
=
's-rule-the-world'
;
// Create node PATCH request.
$request_options
=
$this
->
getAuthenticationRequestOptions
();
Loading