0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
phpwiki
/
1.3.14-6
/
standard
/
htdocs
/
tests
/
unit
/
lib
/
plugin
/
[
Home
]
File: AllUsersTest.php
<?php require_once 'lib/WikiPlugin.php'; require_once 'lib/plugin/AllUsers.php'; require_once 'PHPUnit.php'; class AllUsersTest extends phpwiki_TestCase { /** * Test that we can instantiate and run AllUsers plugin without error. */ function testAllUsers() { global $request; $lp = new WikiPlugin_AllUsers(); $this->assertEquals("AllUsers", $lp->getName()); $basepage = ""; $args = ""; $result = $lp->run($request->getDbh(), $args, $request, $basepage); $this->assertType('object',$result,'isa PageList'); } } ?>