Skip to content

Commit

Permalink
MDL-10066 move testmodforumlib.php into mod/forum/simpletest/
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jun 9, 2007
1 parent cdbbd26 commit 19be539
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
///////////////////////////////////////////////////////////////////////////

/**
* Unit tests for (some of) ../moodlelib.php.
* Unit tests for (some of) ../mod/forum/lib.php.
*
* @copyright © 2006 The Open University
* @author [email protected]
* @author [email protected]
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package moodlecore
* @package mod/forum
*/

if (!defined('MOODLE_INTERNAL')) {
Expand All @@ -48,8 +48,13 @@ function tearDown() {
}

function test_forum_cron() {
// watch out: forum_cron() should not be called from here,
// it relies on special environment setup used in admin/cron.php,
// mainly special cookieless session and $USER object
/*
forum_cron();
$this->assertTrue(false);
*/
}
}

Expand Down

0 comments on commit 19be539

Please sign in to comment.