The included test used to fail due to this issue. Discussed in IRC after mikey_p discovered.
Originally discover by the fact that http://drupalbin.com/4438 passed.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | head-broken-D7.patch | 817 bytes | dave reid |
| #10 | head-broken-D7.patch | 879 bytes | dave reid |
| #7 | simpletest_assertTitle.patch | 2.05 KB | boombatower |
| #5 | simpletest_assertTitle.patch | 2.06 KB | boombatower |
| #3 | simpletest_assertTitle.patch | 2.3 KB | boombatower |
Comments
Comment #1
boombatower commentedAdded assertNoTitle for consistency and to be able to write test.
Comment #2
boombatower commentedComment #3
boombatower commenteddavereid caught documentation issue.
Comment #4
dave reidMakes complete sense to add assertNoTitle since assertTitle is one of the only assertions that doesn't include a negative. Also helpful to make sure that assertTitle works correctly like we discovered it does not. Docs need a tweak: "The string the title should NOT be."
Comment #5
boombatower commentedToo fast on trigger finger.
Comment #6
dave reidPatch applies cleanly and fixes an uncaught error that will not be missed again now! RTBC
Comment #7
boombatower commentedchx noted that assertTrue|False would be more appropriate (been away too long)
Comment #8
dave reidStill confirming RTBC. #7 is good to go.
Comment #9
dries commentedCommitted to CVS HEAD. Thanks!
Comment #10
dave reidTesting bot did not catch a failure now that assertTitle works properly.
Comment #11
boombatower commentedReally need to figure out why some slaves do not catch all the issues
Comment #12
dave reidRevised patch that uses "Preview | Drupal" like the rest of core tests.
Comment #13
dave reidLooks like its only slave #4 that is picking up the broken-ness. All others, no.
Comment #14
boombatower commentedLooks good.
Comment #15
boombatower commented@11: We figured out the issue...so the testing bot misses should no longer occur. #338292: Correct regex for singular assertions
Comment #16
dries commentedCommitted to CVS HEAD. Thanks.