mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Qual: Removed warnings
This commit is contained in:
@@ -123,7 +123,7 @@ class DateLibTest extends PHPUnit_Framework_TestCase
|
||||
$langs=$this->savlangs;
|
||||
$db=$this->savdb;
|
||||
|
||||
$result=ConvertTime2Seconds(1,1,2);
|
||||
$result=convertTime2Seconds(1,1,2);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertEquals(3662,$result);
|
||||
|
||||
@@ -140,11 +140,11 @@ class DateLibTest extends PHPUnit_Framework_TestCase
|
||||
$langs=$this->savlangs;
|
||||
$db=$this->savdb;
|
||||
|
||||
$result=ConvertSecondToTime(0,'all',86400);
|
||||
$result=convertSecondToTime(0,'all',86400);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertEquals('0',$result);
|
||||
|
||||
$result=ConvertSecondToTime(86400,'all',86400);
|
||||
$result=convertSecondToTime(86400,'all',86400);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertSame('1 '.$langs->trans("Day"),$result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user