Closed (fixed)
Project:
Configuration Read-only mode
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jul 2016 at 16:47 UTC
Updated:
22 May 2020 at 20:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
anavarreComment #3
anavarreFew coding standards.
Comment #4
dom. commentedShould be protected.
I would rather advice not to use so "unrestricted" permissions.
Why not this as a class variable and initialize this in setUp() method ?
I would suggest not to use t() method here. This method is in bootstrap.inc and is functionnal not OOP. Plus, the test runs in minimal profile installed with not translation module anyway, so useless here.
Do not let commented lines.
Comment #5
dom. commentedHere is a patch to correct point 5.
Points 1 and 4 corrected too.
Comment #6
anavarreThanks, Dom.!
Comment #7
anavarreprotected
Comment #8
anavarreComment #9
manuel garcia commentedPatch would not apply, so I rerolled it.
Also fixed how testModulePages was enabling the action module as it was incorrect (see
testModulePages-fix.txt).Comment #10
manuel garcia commentedWe should also port
ReadOnlyConfigWhitelistTestto PHPUnit, doing so in this patch.Also this is a blocker for D9.
Comment #11
suzymasri#10 tested, looks good to me. Marking it as RTBC.
As @Manuel Garcia mentioned, this is a blocker for #3042822: Drupal 9 Deprecated Code Report, would be helpful if we can have it merged.
Comment #13
pwolanin commentedThanks!
Comment #15
kristen polFixing outdated tag.