From 5ca70b29b2afcce4746f9f20460eaaedb7beb895 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 4 May 2021 15:52:38 +0200 Subject: [PATCH] Fix phpunit --- test/phpunit/SocieteTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/SocieteTest.php b/test/phpunit/SocieteTest.php index 9a4f58540e9..7773ddcaf22 100755 --- a/test/phpunit/SocieteTest.php +++ b/test/phpunit/SocieteTest.php @@ -401,7 +401,7 @@ class SocieteTest extends PHPUnit\Framework\TestCase $result=$localobject->getOutstandingBills(); print __METHOD__." id=".$id." result=".var_export($result, true)."\n"; - $this->assertLessThan($result, 0); + $this->assertTrue(array_key_exists('opened', $result), 'Result of getOutstandingBills failed'); return $id; }