diff options
author | Michal Čihař <michal@cihar.com> | 2014-03-20 12:36:48 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2014-03-20 12:36:48 +0400 |
commit | d559fa6a2164870f0db0c92b3c60d8b5dda3c3d2 (patch) | |
tree | a654abe4aa6910b46bb98f7740ad1a4dfffea352 /test | |
parent | 582077e8db25d9e80fd9e35a9a1d1d7d9bc1b175 (diff) |
Remove trailing whitespace from the code
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/README.rst | 2 | ||||
-rw-r--r-- | test/classes/PMA_Font_test.php | 2 | ||||
-rw-r--r-- | test/classes/plugin/auth/PMA_AuthenticationCookie_test.php | 8 | ||||
-rw-r--r-- | test/classes/plugin/export/PMA_ExportSql_test.php | 10 |
4 files changed, 11 insertions, 11 deletions
diff --git a/test/README.rst b/test/README.rst index 29b715f625..60409ec041 100644 --- a/test/README.rst +++ b/test/README.rst @@ -3,7 +3,7 @@ PhpMyAdmin test suite This directory is protected from web visitors by a .htaccess file. -For more information on allowing http access to this directory see: +For more information on allowing http access to this directory see: http://httpd.apache.org/docs/current/mod/mod_authz_host.html#allow Please visit the wiki for more information on unit testing: diff --git a/test/classes/PMA_Font_test.php b/test/classes/PMA_Font_test.php index 4478cf4397..482f7f82bc 100644 --- a/test/classes/PMA_Font_test.php +++ b/test/classes/PMA_Font_test.php @@ -47,7 +47,7 @@ class PMA_Font_Test extends PHPUnit_Framework_TestCase 12, PMA_Font::getStringWidth("aa", "arial", "10") ); - + // string "i" $this->assertEquals( 3, diff --git a/test/classes/plugin/auth/PMA_AuthenticationCookie_test.php b/test/classes/plugin/auth/PMA_AuthenticationCookie_test.php index d54ddfa5d6..03b2245a5b 100644 --- a/test/classes/plugin/auth/PMA_AuthenticationCookie_test.php +++ b/test/classes/plugin/auth/PMA_AuthenticationCookie_test.php @@ -1058,7 +1058,7 @@ class PMA_AuthenticationCookie_Test extends PHPUnit_Framework_TestCase $this->object->blowfishEncrypt('data123', 'sec321') ); } else { - //using our own iv for testing + //using our own iv for testing $tmp = $GLOBALS['iv']; $GLOBALS['iv'] = "testiv09"; $this->assertEquals( @@ -1077,8 +1077,8 @@ class PMA_AuthenticationCookie_Test extends PHPUnit_Framework_TestCase public function testBlowfishDecrypt() { if (function_exists('mcrypt_encrypt')) { - - //using our own iv for testing + + //using our own iv for testing $tmp = $GLOBALS['iv']; $GLOBALS['iv'] = "testiv09"; $this->assertEquals( @@ -1086,7 +1086,7 @@ class PMA_AuthenticationCookie_Test extends PHPUnit_Framework_TestCase $this->object->blowfishDecrypt('x/2GwHKoPyc=', 'sec321') ); $GLOBALS['iv'] = $tmp; - + } else { $this->assertEquals( 'data123', diff --git a/test/classes/plugin/export/PMA_ExportSql_test.php b/test/classes/plugin/export/PMA_ExportSql_test.php index 286b0f48ec..59b8055e89 100644 --- a/test/classes/plugin/export/PMA_ExportSql_test.php +++ b/test/classes/plugin/export/PMA_ExportSql_test.php @@ -279,19 +279,19 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase '<code> / EVENT</code><code> / TRIGGER</code> statement', $leaf->getText() ); - + $leaf = array_shift($leaves); $this->assertInstanceOf( 'BoolPropertyItem', $leaf ); - + $leaf = array_shift($leaves); $this->assertInstanceOf( 'BoolPropertyItem', $leaf ); - + $leaf = array_shift($leaves); $this->assertInstanceOf( 'BoolPropertyItem', @@ -1689,7 +1689,7 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase $GLOBALS['sql_create_trigger'] = true; $GLOBALS['sql_drop_table'] = true; - + ob_start(); $this->assertTrue( $this->object->exportStructure( @@ -1707,7 +1707,7 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase "foo;\nDELIMITER //\nbarDELIMITER ;\n", $result ); - + unset($GLOBALS['sql_create_trigger']); unset($GLOBALS['sql_drop_table']); |