X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FTest%2FDbTestTrait.php;h=3e97931cfe078e6b2c453e2440dc15dd73a6098c;hb=592fc2b5a68a7495ed753ca9c68eed521018c467;hp=06b5e60b3c635fefcd663156b0d9ad82248bc7c2;hpb=cced0f6e4c2e244beca8ac97fc14e3806167c85e;p=civicrm-core.git diff --git a/Civi/Test/DbTestTrait.php b/Civi/Test/DbTestTrait.php index 06b5e60b3c..3e97931cfe 100644 --- a/Civi/Test/DbTestTrait.php +++ b/Civi/Test/DbTestTrait.php @@ -169,10 +169,13 @@ trait DbTestTrait { * * Example: $this->assertSql(2, 'select count(*) from foo where foo.bar like "%1"', * array(1 => array("Whiz", "String"))); + * * @param $expected * @param $query * @param array $params * @param string $message + * + * @throws \Exception */ public function assertDBQuery($expected, $query, $params = array(), $message = '') { if ($message) {