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
b10117851c
commit
3cd74f4689
|
|
@ -116,7 +116,7 @@ class RestAPIMosTest extends AbstractRestAPITest
|
|||
|
||||
|
||||
/**
|
||||
* testRestMoProduceAndConsumete
|
||||
* testRestMoList
|
||||
*
|
||||
* @depends testRestMoCreate
|
||||
*
|
||||
|
|
@ -162,7 +162,7 @@ class RestAPIMosTest extends AbstractRestAPITest
|
|||
"arraytoconsume" => [],
|
||||
"arraytoproduce" => [$mod_id] ];
|
||||
|
||||
$result = $this->getUrl("mos/{$mos_state_id}/produceandconsume", $test, 'POST', $data);
|
||||
$result = $this->getUrl("mos/{$mos_state_id}/produceandconsumeall", $test, 'POST', $data);
|
||||
|
||||
print json_encode($result, JSON_PRETTY_PRINT);
|
||||
$this->assertTrue(is_int($result['content']), "{$test}Result data is expected to be integer");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user