mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Mocking objects for tests
This commit is contained in:
parent
b7dc753d58
commit
616dc23c63
@ -35,7 +35,12 @@ class InvoiceTest extends TestCase
|
|||||||
|
|
||||||
private function buildSettings()
|
private function buildSettings()
|
||||||
{
|
{
|
||||||
|
$settings = new \stdClass;
|
||||||
|
$settings->custom_taxes1 = true;
|
||||||
|
$settings->custom_taxes2 = true;
|
||||||
|
$settings->inclusive_taxes = true;
|
||||||
|
|
||||||
|
return $settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function buildLineItems()
|
private function buildLineItems()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user