Skip to content

Commit

Permalink
Fix some of the failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Oct 18, 2014
1 parent c4f67f0 commit aaa2116
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
5 changes: 3 additions & 2 deletions test/bootstrap-dist.php
Expand Up @@ -43,11 +43,12 @@
}
}

// 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);

Expand Down
15 changes: 0 additions & 15 deletions test/classes/plugin/auth/PMA_AuthenticationCookie_test.php
Expand Up @@ -393,21 +393,6 @@ public function testAuth()
$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);
}

Expand Down

0 comments on commit aaa2116

Please sign in to comment.