Closed (fixed)
Project:
Password Policy
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Jun 2014 at 11:07 UTC
Updated:
2 Feb 2015 at 08:23 UTC
Jump to comment: Most recent
Similar to my previously posted issue #2270103: Make config property of 'Example Policy' more readable and patch ;
In module's test file, the config property is a serialized array and it is not very easy to read. Besides it doesn't even fit the coding standards of Drupal which recommends not to have lines longer than 80 chars.
I've attached a similar patch that makes it more readable. Please review.
| Comment | File | Size | Author |
|---|---|---|---|
| more_readable_config_property_in_test_file.patch | 2.24 KB | ey |
Comments
Comment #1
aohrvetpv commentedThanks. If it's OK, before committing I would like to update the patch in #2145649-24: Simpletests for UI of password set and expiry to apply on top of this. There has been a Testbots problem (#2283765: Test usually fails on testbot, but always passes locally) that has been causing that patch to intermittently fail testing, and committing this patch would cause that patch not to apply, which could confuse the matter. If you want to update that patch to apply on top of yours it would be much appreciated, otherwise I will try to do it later.
Comment #2
aohrvetpv commentedWorking on it now.
Comment #4
aohrvetpv commentedCommitted/pushed. Thanks again.
Comment #6
aohrvetpv commentedSorry I didn't give proper credit for this commit. At the time I did not realize you had to use the
--authorparameter.Comment #7
ey commented@AohRveTPV no problems :)