1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

Tests: Fix

This commit is contained in:
Jakub Vrana
2025-03-31 09:05:58 +02:00
parent 79bebe77ba
commit f2871266ad
2 changed files with 1 additions and 11 deletions

View File

@@ -345,16 +345,6 @@
<tr><td>verifyTextPresent</td><td>220</td><td></td></tr>
</tbody></table>
<table cellpadding="1" cellspacing="1" border="1">
<thead><tr><td rowspan="1" colspan="3" data-tags="">Sequences</td></tr></thead>
<tbody>
<tr><td>open</td><td>/adminer/?pgsql=localhost:26257&amp;username=ODBC&amp;db=adminer_test&amp;ns=public</td><td></td></tr>
<tr><td>click</td><td>link=albums_id_seq</td><td></td></tr>
<tr><td>type</td><td>name</td><td>albums_id_seq2</td></tr>
<tr><td>clickAndWait</td><td>//input[@value='Save']</td><td></td></tr>
<tr><td>verifyTextPresent</td><td>Sequence has been altered.</td><td></td></tr>
</tbody></table>
<table cellpadding="1" cellspacing="1" border="1">
<thead><tr><td rowspan="1" colspan="3" data-tags="">Scheme</td></tr></thead>
<tbody>

View File

@@ -5,7 +5,7 @@
chdir(__DIR__);
foreach (glob("*.html") as $filename) {
if (!preg_match('~^pdo-|elastic~', $filename)) {
if (!preg_match('~^pdo-|elastic|screenshots~', $filename)) {
$file = file_get_contents($filename);
$file = preg_replace_callback('~/(adminer(/sqlite)?|editor/example)\.php(\??)~', function ($match) {
return "/$match[1].php?ext=pdo" . ($match[3] ? "&amp;" : "");