mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix phpunit
This commit is contained in:
parent
91e680ba2a
commit
188a68a6cf
|
|
@ -143,7 +143,7 @@ class DoliDBTest extends PHPUnit\Framework\TestCase
|
|||
$savtype = '';
|
||||
$savnull = '';
|
||||
$resql = $db->DDLDescTable($db->prefix().'c_paper_format', 'code');
|
||||
while ($obj = $resql->fetch_object()) {
|
||||
while ($obj = $db->fetch_object($resql)) {
|
||||
if ($obj->Field == 'code') {
|
||||
$savtype = $obj->Type;
|
||||
$savnull = $obj->Null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user