Test fixed

This commit is contained in:
Enes Sacid Büker 2023-03-14 10:43:05 +03:00 committed by GitHub
parent 5c2a6e9a1f
commit e966647205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,10 +255,7 @@ class Document extends AbstractFactory
],
];
return $this->state([
'items' => $items,
'recurring_frequency' => 'no',
]);
return $this->state(['items' => $items]);
}
/**
@ -268,7 +265,7 @@ class Document extends AbstractFactory
public function getDocumentNumber($type)
{
$document_number = $this->getNextDocumentNumber($type);
$this->increaseNextDocumentNumber($type);
return $document_number;