Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I'm going to add some tests to the 7.x branch; once finished, if you'd like to port them back to 6.x, that might be a simpler operation than trying to recreate the tests altogether.
I was just looking at the tests that were added in #2. Be aware that D8 and D7 are moving toward removing t() from all test assert messages and group parameters. You might want to do the same going forward.
Ah, sounds like a good plan. I've noticed a ton of commits lately mentioning t(), but haven't read into them much. I'll remove them next time I run through them.
Comments
Comment #1
geerlingguy commentedI'm going to add some tests to the 7.x branch; once finished, if you'd like to port them back to 6.x, that might be a simpler operation than trying to recreate the tests altogether.
Comment #2
geerlingguy commentedSee commit for 7.x here: http://drupalcode.org/project/user_limit.git/commit/f14123e
Bumping back to 6.x for porting.
Comment #3
lars toomre commentedI was just looking at the tests that were added in #2. Be aware that D8 and D7 are moving toward removing t() from all test assert messages and group parameters. You might want to do the same going forward.
Comment #4
geerlingguy commentedAh, sounds like a good plan. I've noticed a ton of commits lately mentioning t(), but haven't read into them much. I'll remove them next time I run through them.
[Updated: committed fix removing t() from assertion messages - http://drupalcode.org/project/user_limit.git/commit/cb7223e]