363 passes, 5 fails and 10 exceptions.
Check to make sure the unpublish post action can be unassigned from the trigger. at [/Applications/MAMP/htdocs/head/modules/trigger/trigger.test line 65] [Other] Fail
Check to make sure the make post sticky action can be unassigned from the trigger. at [/Applications/MAMP/htdocs/head/modules/trigger/trigger.test line 65] [Other] Fail
Check to make sure the make post unsticky action can be unassigned from the trigger. at [/Applications/MAMP/htdocs/head/modules/trigger/trigger.test line 65] [Other] Fail
Check to make sure the promote post to front page action can be unassigned from the trigger. at [/Applications/MAMP/htdocs/head/modules/trigger/trigger.test line 65] [Other] Fail
Check to make sure the remove post from front page action can be unassigned from the trigger. at [/Applications/MAMP/htdocs/head/modules/trigger/trigger.test line 65] [Other] Fail
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:17:\"Unpublish comment\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:12:\"Publish post\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:14:\"Unpublish post\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:16:\"Make post sticky\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:18:\"Make post unsticky\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:26:\"Promote post to front page\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:27:\"Remove post from front page\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:9:\"Save post\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:30:\"Ban IP address of current user\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Unexpected PHP error [Table 'head.simpletest512127watchdog' doesn't exist query: INSERT INTO simpletest512127watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'actions', 'Action \'%%action\' added.', 'a:1:{s:7:\"%%action\";s:18:\"Block current user\";}', 5, '', 'http://localhost/head/admin/build/testing', 'http://localhost/head/admin/build/testing', '::1', 1211259942)] severity [E_USER_WARNING] in [/Applications/MAMP/htdocs/head/includes/database.mysqli.inc line 130] [PHP] Exception
Comment | File | Size | Author |
---|---|---|---|
#7 | trigger_tests_passing_02.patch | 2.09 KB | cwgordon7 |
#6 | trigger_tests_passing_01.patch | 2.06 KB | cwgordon7 |
#5 | weirdness_fixed.patch | 832 bytes | cwgordon7 |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedBeen pending for some time http://drupal.org/node/205157.
Comment #2
webchickIs this a duplicate? That seems to be an issue to add tests, not fix the existing ones.
Comment #3
boombatower CreditAttribution: boombatower commentedI am for closing the other issue and using this one.
It was, but cwgordon7 marked it as needs work and attempted to fix it. I think he ran into allot of issues and it has been lying dormant ever since. The issue for creating the test was completed so probably best to mark it closed again.
Comment #4
cwgordon7 CreditAttribution: cwgordon7 commentedI know, this is the *weirdest* exception. For some reason the table watchdog does not exist in the new database...?
The fails all seem to be on the unassigns, I wonder if this is done correctly in the tests or if something has changed in HEAD?
Comment #5
cwgordon7 CreditAttribution: cwgordon7 commentedI figured out the weird exceptions: SimpleTest was installing the modules in the wrong order! Haha, that's funny...
Comment #6
cwgordon7 CreditAttribution: cwgordon7 commentedBetter patch. All trigger tests now pass. Review please!
Comment #7
cwgordon7 CreditAttribution: cwgordon7 commentedEr. Take two.
Comment #8
Senpai CreditAttribution: Senpai commentedTested #7 against a fresh copy of HEAD, and a virgin db. Triggers reports 368 passes, 0 fails and 0 exceptions. Success!
Comment #9
boombatower CreditAttribution: boombatower commentedThis is nit picking, but since this is different from the original code I thought I would bring it up.
Is there any reason for
instead of
Since args is never used after that.
Comment #10
cwgordon7 CreditAttribution: cwgordon7 commentedPlease see http://us3.php.net/func_get_args.
Comment #11
boombatower CreditAttribution: boombatower commentedMakes sense.
Comment #12
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #13
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.