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

Tests: Invalid table

This commit is contained in:
Jakub Vrana
2025-03-28 05:08:10 +01:00
parent d47d3cb4c5
commit 3bde36b68e
7 changed files with 67 additions and 1 deletions

View File

@@ -132,6 +132,17 @@
<tr><td>verifyTextPresent</td><td>View has been created.</td><td></td></tr>
</tbody></table>
<table cellpadding="1" cellspacing="1" border="1">
<thead><tr><td rowspan="1" colspan="3">Invalid table</td></tr></thead>
<tbody>
<tr><td>open</td><td>/adminer.php?mssql=&amp;username=ODBC&amp;db=adminer_test&amp;ns=dbo&amp;table=invalid</td><td></td></tr>
<tr><td>verifyTextPresent</td><td>No tables.</td><td></td></tr>
<tr><td>open</td><td>/adminer.php?mssql=&amp;username=ODBC&amp;db=adminer_test&amp;ns=dbo&amp;create=invalid</td><td></td></tr>
<tr><td>verifyTextPresent</td><td>No tables.</td><td></td></tr>
<tr><td>open</td><td>/adminer.php?mssql=&amp;username=ODBC&amp;db=adminer_test&amp;ns=dbo&amp;select=invalid</td><td></td></tr>
<tr><td>verifyTextPresent</td><td>Unable to select the table:</td><td></td></tr>
</tbody></table>
<table cellpadding="1" cellspacing="1" border="1">
<thead><tr><td rowspan="1" colspan="3">Schema</td></tr></thead>
<tbody>