mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-27 14:58:41 +00:00
fix tests
This commit is contained in:
parent
fa0bcbe2af
commit
da6056e0cd
|
|
@ -1518,7 +1518,7 @@ final class ApiBillController extends Controller
|
|||
$bill = BillMapper::get()->where('id', (int) $request->getData('id'))->execute();
|
||||
|
||||
$request->setData('virtualpath', $this->createBillDir($bill), true);
|
||||
$this->app->moduleManager->get('Editor')->apiEditorCreate($request, $response, $data);
|
||||
$this->app->moduleManager->get('Editor', 'Api')->apiEditorCreate($request, $response, $data);
|
||||
|
||||
if ($response->header->status !== RequestStatusCode::R_200) {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ trait ApiBillControllerTrait
|
|||
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
|
||||
}
|
||||
|
||||
#[\PHPUnit\Framework\Attributes\Depends('testBillCreate')]
|
||||
public function testBillNoteCreate() : void
|
||||
{
|
||||
$response = new HttpResponse();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user