Add phpunit test

This commit is contained in:
Laurent Destailleur
2017-10-22 13:05:47 +02:00
parent 83c1928034
commit 4247038d01
6 changed files with 326 additions and 14 deletions

View File

@@ -180,6 +180,7 @@ class PropalTest extends PHPUnit_Framework_TestCase
$langs=$this->savlangs;
$db=$this->savdb;
$localobject->fetch_thirdparty();
$result=$localobject->addline('Added line', 10, 2, 19.6);
$this->assertLessThan($result, 0);