1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

PHP 7.2 fixes

This commit is contained in:
Hillel Coren 2018-02-27 11:38:54 +02:00
parent f1c350419d
commit 86893bbbfd

View File

@ -110,7 +110,7 @@ class APICest
Debug::debug("List {$entityType}");
$response = $this->sendRequest("{$entityType}", null, 'GET');
PHPUnit_Framework_Assert::assertGreaterThan(0, count($response->data));
PHPUnit_Framework_Assert::assertGreaterThan(0, count((array) $response->data));
return $response;
}