We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05aa911 commit 9e7a1dcCopy full SHA for 9e7a1dc
tests/Database/Table/Selection.page().phpt
@@ -60,8 +60,8 @@ test(function () use ($context) { //less items than $itemsPerPage
60
61
// SQL Server throw PDOException 'The number of rows provided for a FETCH clause must be greater then zero.'
62
if ($driverName !== 'sqlsrv') {
63
- test(function () use ($context) { //invalid params
+ Assert::error(function () use ($context) { //invalid params
64
$tags = $context->table('tag')->page('foo', 'bar');
65
Assert::equal(0, count($tags)); //no items
66
- });
+ }, PHP_VERSION_ID >= 70100 ? [[E_WARNING, 'A non-numeric value encountered']] : []);
67
}
0 commit comments