Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
config.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
25 Nov 2014 at 13:31 UTC
Updated:
20 Jan 2015 at 19:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tibbsa commentedWorking on this.
Comment #2
tibbsa commentedThe remaining reference to $this->root_user in \Drupal\config\Tests\ConfigExportUITest requires changes to WebTestBase in the 'simpletest' module, and those changes will have consequences across multiple sub-issues: see comment #32 in the parent issue.
Comment #3
tibbsa commentedComment #4
cilefen commented@tibbsa: nice work so far.
This should be the interface, not the actual class.
This should be the interface, not the actual class.
There is no reason to change this file in this patch.
You could remove this.
Adding this is appropriate for the coding standards, but it is out-of-scope for this issue. I am not going to ask you to remove these, which was done in several files, but another reviewer may ask you to remove them.
Comment #5
tibbsa commentedComment #6
mile23Needs re-roll.
Comment #7
tadityar commentedRe-roll of the patch.
Comment #8
tadityar commentedforgot to change to needs review
Comment #10
tadityar commentedComment #11
tadityar commentedComment #13
tadityar commentedre-roll try again
Comment #15
tadityar commentedComment #17
tadityar commentedre-roll again. This time erase the DrupalTestBase
Comment #18
mile23Good work, @tadityar. :-)
The patch in #17 refactors class-level properties from under_score to camelCase as the coding standards demand.
I know this because I applied the patch, ran my own coding standards review with netbeansdrupalcomposed, and poked through all the test classes to find camel case and underscore violations.
Comment #19
cilefen commentedAdded space should not be here.
Added space should not be here.
Comment #20
cilefen commentedhere
and here
Comment #21
tadityar commented@cilefen, will work on that later this day. Thank you for pointing that out!
Comment #22
tstoecklerThis should be "install" not "enable".
Comment #23
tadityar commentedComment #24
mile23Here's an interdiff.
Comment #25
mile23Introduces a bunch of whitespace errors in addition to this one.
It should be 'an.' :-)
The rest is good. :-)
Comment #26
tadityar commentedLet's go!
Comment #27
tadityar commentedre-upload for re-testing, the previous patch was stuck in queue and testing.
Comment #28
mile23The patch in #27 accomplishes the goal of changing all under_score properties to camelCase, within the config module's SimpleTest namespace.
I know this because I used a combination of NetBeans and phpcs to look for the underscore coding standard error.
The patch also does a few things outside the scope of this issue, but they're all positive and never negative. :-)
So therefore: RTBC.
Thanks, @tadityar!
Comment #32
tadityar commentedre-rolled as the patch in #27 suddenly failed testing.
Comment #33
mile23Looks good. Patch applies now. Re-upping the RTBC from #28.
Comment #37
mile23OK, #36 says the patch failed, but #32 is green. So let's ask the testbot *yet again.*
Comment #39
tibbsa commentedNote those failures are failures of an earlier patch (#26). I'm not sure why @basic re-queued #26 for testing.
Comment #40
mile23OK, well that answers that question. Still green, still RTBC.
Comment #41
tadityar commented@Mile23, ah.. so that's it. I was confused about why even though something failed testing the status is still RTBC..
Comment #43
mile23Patch doesn't apply, needs reroll: https://www.drupal.org/patch/reroll
Comment #44
tadityar commentedRe-rolled
Comment #45
mile23phpcs says no camel case errors in the test classes. Everything else looks good, and we're green on tests.
Comment #46
adci_contributor commentedComment #47
webchickLooks like Alex has been committing others of these, so joining the club. :P
Committed and pushed to 8.0.x. Thanks!