}
function testApi() {
- global $wgServerName, $wgServer, $wgDBprefix, $wgDBtype;
+ global $wgServerName, $wgServer;
- if ( $wgDBprefix === "parsertest_" || ( $wgDBtype == 'oracle' && $wgDBprefix === 'pt_' ) )
- $this->markTestSkipped( "This test can't (yet?) be run with the parser tests" );
if ( !isset( $wgServerName ) || !isset( $wgServer ) ) {
$this->markTestIncomplete( 'This test needs $wgServerName and $wgServer to ' .
'be set in LocalSettings.php' );
}
function testApiLoginNoName() {
- global $wgServerName, $wgServer, $wgDBprefix, $wgDBtype;
+ global $wgServerName, $wgServer;
- if ( $wgDBprefix === "parsertest_" || ( $wgDBtype == 'oracle' && $wgDBprefix === 'pt_' ) )
- $this->markTestSkipped( "This test can't (yet?) be run with the parser tests" );
if ( !isset( $wgServerName ) || !isset( $wgServer ) ) {
$this->markTestIncomplete( 'This test needs $wgServerName and $wgServer to ' .
'be set in LocalSettings.php' );
}
function testApiLoginBadPass() {
- global $wgServerName, $wgServer, $wgDBprefix, $wgDBtype;
+ global $wgServerName, $wgServer;
- if ( $wgDBprefix === "parsertest_" || ( $wgDBtype == 'oracle' && $wgDBprefix === 'pt_' ) )
- $this->markTestSkipped( "This test can't (yet?) be run with the parser tests" );
if ( !isset( $wgServerName ) || !isset( $wgServer ) ) {
$this->markTestIncomplete( 'This test needs $wgServerName and $wgServer to ' .
'be set in LocalSettings.php' );
}
function testApiLoginGoodPass() {
- global $wgServerName, $wgServer, $wgDBprefix, $wgDBtype;
+ global $wgServerName, $wgServer;
- if ( $wgDBprefix === "parsertest_" || ( $wgDBtype == 'oracle' && $wgDBprefix === 'pt_' ) )
- $this->markTestSkipped( "This test can't (yet?) be run with the parser tests" );
if ( !isset( $wgServerName ) || !isset( $wgServer ) ) {
$this->markTestIncomplete( 'This test needs $wgServerName and $wgServer to ' .
'be set in LocalSettings.php' );
}
function testApiGotCookie() {
- global $wgServerName, $wgServer, $wgScriptPath, $wgDBprefix, $wgDBtype;
+ global $wgServerName, $wgServer, $wgScriptPath;
- if ( $wgDBprefix === "parsertest_" || ( $wgDBtype == 'oracle' && $wgDBprefix === 'pt_' ) )
- $this->markTestSkipped( "This test can't (yet?) be run with the parser tests" );
if ( !isset( $wgServerName ) || !isset( $wgServer ) ) {
$this->markTestIncomplete( 'This test needs $wgServerName and $wgServer to ' .
'be set in LocalSettings.php' );
*/
function testApiListPages( CookieJar $cj ) {
$this->markTestIncomplete( "Not done with this yet" );
- global $wgServerName, $wgServer, $wgDBprefix, $wgDBtype;
+ global $wgServerName, $wgServer;
- if ( $wgDBprefix === "parsertest_" || ( $wgDBtype == 'oracle' && $wgDBprefix === 'pt_' ) )
- $this->markTestSkipped( "This test can't (yet?) be run with the parser tests" );
if ( $wgServerName == "localhost" || $wgServer == "http://localhost" ) {
$this->markTestIncomplete( 'This test needs $wgServerName and $wgServer to ' .
'be set in LocalSettings.php' );