1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-07 17:42:53 +03:00

fix psalm issues; reformat; rename new db functions

This commit is contained in:
David Goodwin
2019-01-06 21:27:08 +00:00
parent 1176c9ce78
commit 803e2342f8
15 changed files with 86 additions and 78 deletions

View File

@@ -42,7 +42,7 @@ class DbBasicTest extends \PHPUnit\Framework\TestCase {
)
);
$ret = db_prepared_fetch_one("SELECT * FROM mailbox WHERE username = :username", array('username' => $username));
$ret = db_query_one("SELECT * FROM mailbox WHERE username = :username", array('username' => $username));
$this->assertTrue(!empty($ret));