forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-10066 move testmodforumlib.php into mod/forum/simpletest/
- Loading branch information
skodak
committed
Jun 9, 2007
1 parent
cdbbd26
commit 19be539
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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')) { | ||
|
@@ -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); | ||
*/ | ||
} | ||
} | ||
|
||
|