Fix some of the failing tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
c4f67f05c8
commit
aaa2116b01
@ -43,11 +43,12 @@ foreach ($test_defaults as $varname => $defvalue) {
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize PMA_VERSION variable
|
||||
require_once 'libraries/String.class.php';
|
||||
require_once 'libraries/core.lib.php';
|
||||
$GLOBALS['PMA_String'] = $PMA_String;
|
||||
$GLOBALS['PMA_String'] = new PMA_String();
|
||||
require_once 'libraries/Config.class.php';
|
||||
$CFG = new PMA_Config();
|
||||
// Initialize PMA_VERSION variable
|
||||
define('PMA_VERSION', $CFG->get('PMA_VERSION'));
|
||||
unset($CFG);
|
||||
|
||||
|
||||
@ -393,21 +393,6 @@ class PMA_AuthenticationCookie_Test extends PHPUnit_Framework_TestCase
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
'$("#recaptcha_reload_btn").addClass("disableAjax");',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
'$("#recaptcha_switch_audio_btn").addClass("disableAjax");',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
'$("#recaptcha_switch_img_btn").addClass("disableAjax");',
|
||||
$result
|
||||
);
|
||||
|
||||
$attrInstance->setValue($restoreInstance);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user