Fix phpunit
This commit is contained in:
parent
91e680ba2a
commit
188a68a6cf
@ -143,7 +143,7 @@ class DoliDBTest extends PHPUnit\Framework\TestCase
|
|||||||
$savtype = '';
|
$savtype = '';
|
||||||
$savnull = '';
|
$savnull = '';
|
||||||
$resql = $db->DDLDescTable($db->prefix().'c_paper_format', 'code');
|
$resql = $db->DDLDescTable($db->prefix().'c_paper_format', 'code');
|
||||||
while ($obj = $resql->fetch_object()) {
|
while ($obj = $db->fetch_object($resql)) {
|
||||||
if ($obj->Field == 'code') {
|
if ($obj->Field == 'code') {
|
||||||
$savtype = $obj->Type;
|
$savtype = $obj->Type;
|
||||||
$savnull = $obj->Null;
|
$savnull = $obj->Null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user