Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
13 Oct 2009 at 04:33 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damien tournoud commentedThis was reported before (we will have to find the other issue and mark it as a duplicate). The fix does make a lot of sense. By the way, the bot doesn't pick up this error because it is running with the default installation profile, not the expert one.
Comment #2
chx commentedComment #3
boombatower commentedI think 'installed Drupal' is ambiguous. Perhaps we should use the terms: prefixed install and base install.
cronRun() does not return anything. Looks like it should pass on result from drupalGet().
This review is powered by Dreditor.
Comment #4
chx commentedsystem.test needs the direct test simply removed because it makes no sense any more.
Comment #5
chx commentedFixed htat comment.
Comment #6
sunThis did make sense before, because http://api.drupal.org/api/function/drupal_cron_run/7 did return a result.
cronRun(), however, doesn't return anything. Not sure, how tests can pass with this (apparently they did), and maybe we don't need the assertion at all. If we don't, then we might just add a fake assertion to cronRun() that just indicates that cron was supposed to run and "did run" (without asserting it).
This review is powered by Dreditor.
Comment #7
chx commentedAnd , removed that assert. No need to fake, there are many asserts always to check the effects of cron.
Comment #8
chx commentedFound #505624: search_update_totals() should be more robust marked duplicate.
Comment #9
sunAlrighty.
Comment #10
webchickWe should document this limitation in the PHPDoc of drupal_cron_run(), so that this doesn't bite the next poor slob.
Comment #11
chx commentedWe can do that.
Comment #12
webchickWorks for me! Committed to HEAD.
Needs documenting somewhere in the testing documentation at http://drupal.org/simpletest.
Comment #13
chx commented