rdbms: Complete coverage for Database::selectSQLText()
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Jul 2017 04:19:53 +0000 (21:19 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Jul 2017 04:30:07 +0000 (21:30 -0700)
commit9491b74d00d5ad363c076f77d8e6b34e16c2cde7
tree7c07ab59ab7c9179bfcd957d8586faf8a4fd9abe
parent26974b5af8f16205ab415f3c7c80d6920cd6291e
rdbms: Complete coverage for Database::selectSQLText()

Only missing cases where 'USE INDEX' and 'IGNORE INDEX'.
The test doesn't do much since the underlying methods are no-ops
by default, but at least it ensures there are no PHP errors from
these branches.

We can later re-use some of these test cases in tests specific
to one backend.

Change-Id: Id004a2ae41efaa7a367f964013e25d98ecc591ff
tests/phpunit/includes/libs/rdbms/database/DatabaseSQLTest.php