Problem/Motivation
Parent issue works as designed, we need to move along and try and execute: /Users/bjorn/projects/drupal/core/modules/jsonapi/tests/src/Functional/NodeTest.php:341. Which is a todo to remove some code when the issue is closed.
Steps to reproduce
Proposed resolution
Remove the code, enable new code as per comment in referenced line. See if all is good.
Remaining tasks
Remove the code
See all is happy and fine
...
Profit ;)
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3449891
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3449891-move-to-new
changes, plain diff MR !8189
Comments
Comment #2
nexusnovaz commentedIll pick this one up
Comment #4
nexusnovaz commentedHi, i think the Remaining tasks needs to be revised. I've removed the old test and uncommented the new one. The test can be viewed here with a failure.
Comment #5
bbralaIf you look at the arguments for
assertResourceErrorResponseyou see that your arguments to not correcpond with the right ones. The $response variable is in the wrong position. Check out the function arguments, and you should be able to fix that pretty easily by adding a NULL as the $via_link argument, or if that doesnt work you could also add the earlier $url there, that is probably better. :)Comment #6
nexusnovaz commentedHi @bbrala,
I'm unable to get the test to pass. I'm getting the following fail message with $url:
Or the following error message with NULL:
As im unsure what to do, ill leave this for someone else and check up once complete to learn from the solution.
Comment #8
manish-31 commentedMR has been updated, fixed PHPUnit tests errors. Needs review.
Comment #9
smustgrave commentedSeems straightforward
Just fyi @manish-31 this was tagged for novice/new users. Looking at your post history of multiple pages believe are good to work on non-novice level issues.
Comment #10
longwaveCommitted and pushed 11ce3c837b to 11.x and 1dd4e98288 to 11.0.x and f5ecdb8f72 to 10.4.x and 3fd288da5c to 10.3.x. Thanks!
Comment #16
longwave