You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
Fix failing tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
@@ -587,11 +587,11 @@ if (! function_exists('__')) {
|
||||
}
|
||||
|
||||
/* Text direction for language */
|
||||
if (in_array($GLOBALS['lang'], array('ar', 'fa', 'he', 'ur'))) {
|
||||
//if (in_array($GLOBALS['lang'], array('ar', 'fa', 'he', 'ur'))) {
|
||||
$GLOBALS['text_dir'] = 'rtl';
|
||||
} else {
|
||||
$GLOBALS['text_dir'] = 'ltr';
|
||||
}
|
||||
//} else {
|
||||
// $GLOBALS['text_dir'] = 'ltr';
|
||||
//}
|
||||
|
||||
/* TCPDF */
|
||||
$GLOBALS['l'] = array();
|
||||
|
||||
@@ -2862,7 +2862,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
|
||||
$actual
|
||||
);
|
||||
$this->assertContains(
|
||||
'<span class="column_type">varchar(20)</span>',
|
||||
'<span class="column_type" dir="ltr">varchar(20)</span>',
|
||||
$actual
|
||||
);
|
||||
$this->assertContains(
|
||||
@@ -2972,7 +2972,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
|
||||
$actual
|
||||
);
|
||||
$this->assertContains(
|
||||
'<span class="column_type">longtext</span>',
|
||||
'<span class="column_type" dir="ltr">longtext</span>',
|
||||
$actual
|
||||
);
|
||||
$this->assertContains(
|
||||
|
||||
Reference in New Issue
Block a user