Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-05-15 23:16:22 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-05-15 23:16:22 +0300
commit95fdd35e2fe1dc304efbe8be96a5a6c1a0357562 (patch)
treee3698775ccb0d0e1db318a152fdcc21816284acb /test/classes
parent68b96b8b1020dba6106836e1ac96f037cc8b56c5 (diff)
Remove the .pma-table CSS class
Replaces with equivalent Bootstrap classes. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/classes')
-rw-r--r--test/classes/BrowseForeignersTest.php4
-rw-r--r--test/classes/Plugins/Export/ExportHtmlwordTest.php16
2 files changed, 10 insertions, 10 deletions
diff --git a/test/classes/BrowseForeignersTest.php b/test/classes/BrowseForeignersTest.php
index 56636c759a..aba2cdbbed 100644
--- a/test/classes/BrowseForeignersTest.php
+++ b/test/classes/BrowseForeignersTest.php
@@ -246,7 +246,7 @@ class BrowseForeignersTest extends AbstractTestCase
);
$this->assertStringContainsString(
- '<table class="pma-table" width="100%" id="browse_foreign_table">',
+ '<table class="table table-light table-striped table-hover" id="browse_foreign_table">',
$result
);
@@ -262,7 +262,7 @@ class BrowseForeignersTest extends AbstractTestCase
);
$this->assertStringContainsString(
- '<table class="pma-table" width="100%" id="browse_foreign_table">',
+ '<table class="table table-light table-striped table-hover" id="browse_foreign_table">',
$result
);
diff --git a/test/classes/Plugins/Export/ExportHtmlwordTest.php b/test/classes/Plugins/Export/ExportHtmlwordTest.php
index 68c8223461..342c33fb0d 100644
--- a/test/classes/Plugins/Export/ExportHtmlwordTest.php
+++ b/test/classes/Plugins/Export/ExportHtmlwordTest.php
@@ -328,7 +328,7 @@ class ExportHtmlwordTest extends AbstractTestCase
$this->assertEquals(
'<h2>Dumping data for table test_table</h2>'
- . '<table class="pma-table w-100" cellspacing="1"><tr class="print-category">'
+ . '<table width="100%" cellspacing="1"><tr class="print-category">'
. '<td class="print"><strong>id</strong></td>'
. '<td class="print"><strong>name</strong></td>'
. '<td class="print"><strong>datetimefield</strong></td>'
@@ -384,7 +384,7 @@ class ExportHtmlwordTest extends AbstractTestCase
->will($this->returnValue(1));
$this->assertEquals(
- '<table class="pma-table w-100" cellspacing="1">' .
+ '<table width="100%" cellspacing="1">' .
'<tr class="print-category"><th class="print">Column</th>' .
'<td class="print"><strong>Type</strong></td>' .
'<td class="print"><strong>Null</strong></td>' .
@@ -489,7 +489,7 @@ class ExportHtmlwordTest extends AbstractTestCase
);
$this->assertEquals(
- '<table class="pma-table w-100" cellspacing="1">' .
+ '<table width="100%" cellspacing="1">' .
'<tr class="print-category"><th class="print">Column</th>' .
'<td class="print"><strong>Type</strong></td>' .
'<td class="print"><strong>Null</strong></td>' .
@@ -648,7 +648,7 @@ class ExportHtmlwordTest extends AbstractTestCase
);
$this->assertEquals(
- '<table class="pma-table w-100" cellspacing="1">' .
+ '<table width="100%" cellspacing="1">' .
'<tr class="print-category"><th class="print">Column</th>' .
'<td class="print"><strong>Type</strong></td>' .
'<td class="print"><strong>Null</strong></td>' .
@@ -709,7 +709,7 @@ class ExportHtmlwordTest extends AbstractTestCase
$this->assertEquals(
'<h2>Table structure for table test_table</h2>'
- . '<table class="pma-table w-100" cellspacing="1"><tr class="print-category">'
+ . '<table width="100%" cellspacing="1"><tr class="print-category">'
. '<th class="print">Column</th><td class="print"><strong>Type</strong></td>'
. '<td class="print"><strong>Null</strong></td><td class="print"><strong>Default</strong></td></tr>'
. '<tr class="print-category"><td class="print"><em><strong>id</strong></em></td>'
@@ -735,7 +735,7 @@ class ExportHtmlwordTest extends AbstractTestCase
$result = ob_get_clean();
$this->assertEquals(
- '<h2>Triggers test_table</h2><table class="pma-table w-100" cellspacing="1">'
+ '<h2>Triggers test_table</h2><table width="100%" cellspacing="1">'
. '<tr class="print-category"><th class="print">Name</th>'
. '<td class="print"><strong>Time</strong></td><td class="print"><strong>Event</strong></td>'
. '<td class="print"><strong>Definition</strong></td></tr><tr class="print-category">'
@@ -759,7 +759,7 @@ class ExportHtmlwordTest extends AbstractTestCase
$this->assertEquals(
'<h2>Structure for view test_table</h2>'
- . '<table class="pma-table w-100" cellspacing="1"><tr class="print-category">'
+ . '<table width="100%" cellspacing="1"><tr class="print-category">'
. '<th class="print">Column</th><td class="print"><strong>Type</strong></td>'
. '<td class="print"><strong>Null</strong></td><td class="print"><strong>Default</strong>'
. '</td></tr><tr class="print-category"><td class="print"><em><strong>id</strong></em></td>'
@@ -786,7 +786,7 @@ class ExportHtmlwordTest extends AbstractTestCase
$this->assertEquals(
'<h2>Stand-in structure for view test_table</h2>'
- . '<table class="pma-table w-100" cellspacing="1"><tr class="print-category">'
+ . '<table width="100%" cellspacing="1"><tr class="print-category">'
. '<th class="print">Column</th><td class="print"><strong>Type</strong></td>'
. '<td class="print"><strong>Null</strong></td><td class="print"><strong>Default</strong></td>'
. '</tr><tr class="print-category">'