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:
parent
f1c350419d
commit
86893bbbfd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user