Problem/Motivation
Fixes for the sniff in core/tests
Steps to reproduce
Proposed resolution
Remaining tasks
Review
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3477205-nr-bot.txt | 28.95 KB | needs-review-queue-bot |
Issue fork drupal-3477205
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 #2
quietone commentedComment #4
quietone commentedAdded several phpcs:ignore lines in DriverSpecificTransactionTestBase in order for tests to pass. With a variable for the return the tests fail. I can't say that I understand why.
For \Drupal\Tests\Core\Render\RendererRecursionTest, found this commit may be useful.
Comment #5
smustgrave commentedOpened #3477815: Investigate need for unused variables in DriverSpecificTransactionTestBase to investigate DriverSpecificTransactionTestBase since this does net gain 40 other files vs holding up.
Reviewed the rest of the changes and cleanup seems good.
Comment #6
alexpottNeeds to be merged with HEAD and I left a small review on the MR.
Comment #7
quietone commentedRebased with a conflict in phpcs.xml.dist and then accepted the suggestion in the MR.
Comment #8
quietone commentedRebase again due to conflict in \Drupal\Tests\Core\DrupalTest::setMockContainerService
Comment #9
smustgrave commentedFeedback appears to be addressed.
Comment #10
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. 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.
Comment #11
quietone commentedRebased and then was getting undefined variable, $simpletest_path, so I removed those. That was recently change in #3477529: [CI] Remove the 'with-database' requirement for unit tests.
Back to needs review.
Comment #12
smustgrave commentedRebase seems good.
Comment #13
larowlanJust one comment, fine to self RTBC after answering/addressing
Comment #14
quietone commented@larowlan, thanks.
I explained why it is commented out. and I still think it is the right thing to do here. So, restoring RTBC
Comment #15
larowlanThere are three new fails in HEAD
Fine to self RTBC here
Comment #16
quietone commentedI've made changes to fix the new fails.
Comment #17
larowlanTrivial changes, back to RTBC
Comment #19
larowlanCommitted to 11.x - thanks!