Problem/Motivation
This is a followup to #3227824: Move the linkset functionality from the decoupled menus contributed module to core's system module. In #157 over there alexpott commented:
When this lands we should create a followup to use ApiRequestTrait in \Drupal\Tests\rest\Functional\ResourceTestBase.
Steps to reproduce
N/A
Proposed resolution
Remaining tasks
Patch
Review
Commit
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|
Issue fork drupal-3322640
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:
Comments
Comment #3
vbouchetComment #4
smustgrave commentedThink it's a CC failure? Though updated deps is new to me.
Maybe turn to an MR to be sure?
Change looks fine though. Just optimizing existing code.
Comment #5
vbouchetAs you mentioned in other issue, seems the tests are not executed automatically anymore. At least I had to manually queues these for the few patches I submited today and I also noticed the "deps" things. I will try to turn it into a MR layer.
Comment #7
vbouchetI applied the same change in a MR instead of a patch.
Comment #8
smustgrave commentedReran nightwatch and it was a random failure.
Change looks good!
Comment #9
longwaveI think this should also try to replace
ResourceTestBase::request()withApiRequestTrait::makeApiRequest()as the code looks pretty similar.We might need a wrapper or we might be able to say
and just delete the
requestmethod.Comment #12
sivaji_ganesh_jojodae commentedI did the rebase, and I do not see any commits or changes afterward. Has this issue already been resolved?
Comment #13
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.