Index: trunk/extensions/Wikidata/OmegaWiki/RecordHelperTest.php |
— | — | @@ -10,10 +10,6 @@ |
11 | 11 | # do we seriously need ALL of these? |
12 | 12 | require_once("../../../StartProfiler.php"); |
13 | 13 | require_once("../../../LocalSettings.php"); |
14 | | -global $kimwgBLA, $IP; |
15 | | -echo "SHOULD GET\n"; |
16 | | -echo $kimwgBLA." ".$IP; |
17 | | -echo "\n"; |
18 | 14 | require_once("../php-tools/ProgressBar.php"); |
19 | 15 | require_once("Setup.php"); |
20 | 16 | require_once("DefinedMeaningModel.php"); |
— | — | @@ -52,6 +48,13 @@ |
53 | 49 | $testRecord=NULL; |
54 | 50 | } |
55 | 51 | |
| 52 | + function randomTest(){ |
| 53 | + global $wgOut; |
| 54 | + $wgOut->addWikiText("Hello [[world]]\n"); |
| 55 | + echo $wgOut->mBodytext; |
| 56 | + |
| 57 | + } |
| 58 | + |
56 | 59 | } |
57 | 60 | |
58 | 61 | if (PHPUnit_MAIN_METHOD == "RecordHelperTest::main") { |