PHPUnit_TestCase($name); } /** * Test that we can instantiate and run OrphanedPages plugin without error. */ function testOrphanedPages() { global $request; $lp = new WikiPlugin_OrphanedPages(); $this->assertEquals("OrphanedPages", $lp->getName()); $result = $lp->run($request->getDbh(), "pages=foo", $request); $this->assertType('object',$result,'isa PageList'); } } ?>