Permalink
Browse files

Update tests

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information...
madhuracj committed Mar 9, 2015
1 parent df39cff commit 1f630a1a97b7fc3a15ff344bd5e9cb60826f5577
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/classes/plugin/auth/PMA_AuthenticationHttp_test.php
@@ -451,12 +451,13 @@ public function testAuthFails()
$this->object = $this->getMockBuilder('AuthenticationHttp')
->disableOriginalConstructor()
->setMethods(array('auth'))
->setMethods(array('authForm'))
->getMock();
$this->object->expects($this->exactly(2))
->method('auth');
->method('authForm');
// case 2
$GLOBALS['cfg']['Server']['host'] = 'host';
$GLOBALS['errno'] = 1045;
$this->assertTrue(

0 comments on commit 1f630a1

Please sign in to comment.