'
);
$this->object->display();
@@ -559,7 +559,7 @@ class MessageTest extends PmaTestCase
{
$this->object->setMessage('Test Message');
$this->assertEquals(
- '

'
+ '

'
. 'Test Message
',
$this->object->getDisplay()
);
@@ -587,18 +587,18 @@ class MessageTest extends PmaTestCase
return array(
array(
1,
- '

1 row affected.
'
+ '

1 row affected.
'
),
array(
2,
- '

2 rows affected.
'
+ '

2 rows affected.
'
),
array(
10000,
- '

10000 rows affected.
'
+ '

10000 rows affected.
'
)
);
}
@@ -632,18 +632,18 @@ class MessageTest extends PmaTestCase
return array(
array(
1,
- '

'
- . ' 1 row inserted.
'
+ '

1 row inserted.
'
),
array(
2,
- '

'
- . ' 2 rows inserted.
'
+ '

2 rows inserted.
'
),
array(
100000,
- '

'
- . ' 100000 rows inserted.
'
+ '

100000 rows inserted.
'
)
);
}
@@ -677,18 +677,18 @@ class MessageTest extends PmaTestCase
return array(
array(
1,
- '

'
- . ' 1 row deleted.
'
+ '

1 row deleted.
'
),
array(
2,
- '

'
- . ' 2 rows deleted.
'
+ '

2 rows deleted.
'
),
array(
500000,
- '

'
- . ' 500000 rows deleted.
'
+ '

500000 rows deleted.
'
)
);
}
diff --git a/test/classes/Plugins/Auth/AuthenticationConfigTest.php b/test/classes/Plugins/Auth/AuthenticationConfigTest.php
index 3e67b001bf..3fe0f16e7d 100644
--- a/test/classes/Plugins/Auth/AuthenticationConfigTest.php
+++ b/test/classes/Plugins/Auth/AuthenticationConfigTest.php
@@ -117,7 +117,9 @@ class AuthenticationConfigTest extends PmaTestCase
$this->assertContains(
'
MySQL said: ',
+ ' target="mysql_doc">' .
+ '
',
$html
);
diff --git a/test/classes/ThemeTest.php b/test/classes/ThemeTest.php
index 7210d47dba..da3a275435 100644
--- a/test/classes/ThemeTest.php
+++ b/test/classes/ThemeTest.php
@@ -148,6 +148,7 @@ class ThemeTest extends PmaTestCase
ob_end_clean();
$this->assertTrue($ret);
$this->assertContains('FILE: navigation.css.php', $out);
+ $this->assertContains('.ic_b_bookmark', $out);
}
/**
diff --git a/test/classes/UtilTest.php b/test/classes/UtilTest.php
index 5837511f9f..f429cb69de 100644
--- a/test/classes/UtilTest.php
+++ b/test/classes/UtilTest.php
@@ -1408,7 +1408,7 @@ class UtilTest extends PmaTestCase
$GLOBALS['cfg']['ActionLinksMode'] = 'icons';
$this->assertEquals(
- '

',
+ '
',
Util::getIcon('b_comment.png')
);
}
@@ -1426,9 +1426,9 @@ class UtilTest extends PmaTestCase
$alternate_text = 'alt_str';
$this->assertEquals(
- '


',
+ . '" class="icon ic_b_comment" />',
Util::getIcon('b_comment.png', $alternate_text)
);
}
@@ -1448,9 +1448,9 @@ class UtilTest extends PmaTestCase
// Here we are checking for an icon embedded inside a span (i.e not a menu
// bar icon
$this->assertEquals(
- '

' . $alternate_text . '',
+ . '" class="icon ic_b_comment" /> ' . $alternate_text . '',
Util::getIcon('b_comment.png', $alternate_text, true, false)
);
}
@@ -2065,7 +2065,7 @@ class UtilTest extends PmaTestCase
$GLOBALS['cfg']['ServerDefault'] = 1;
$this->assertEquals(
- '

',
+ '

',
Util::showDocu('page', 'anchor')
);
}
@@ -2086,8 +2086,8 @@ class UtilTest extends PmaTestCase
$lang = _pgettext('PHP documentation language', 'en');
$expected = '
'
- . '
'
- . '';
+ . '

';
$this->assertEquals(
$expected, Util::showPHPDocu($target)
diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php
index 36391f415f..18321fe53e 100644
--- a/test/selenium/TestBase.php
+++ b/test/selenium/TestBase.php
@@ -376,7 +376,7 @@ abstract class PMA_SeleniumBase extends PHPUnit_Extensions_Selenium2TestCase
public function logOutIfLoggedIn()
{
if ($this->isLoggedIn()) {
- $this->byCssSelector("a.logout")->click();
+ $this->byCssSelector("img.icon.ic_s_loggoff")->click();
}
}