Mocking objects for tests
This commit is contained in:
parent
b7dc753d58
commit
616dc23c63
|
|
@ -35,7 +35,12 @@ class InvoiceTest extends TestCase
|
|||
|
||||
private function buildSettings()
|
||||
{
|
||||
$settings = new \stdClass;
|
||||
$settings->custom_taxes1 = true;
|
||||
$settings->custom_taxes2 = true;
|
||||
$settings->inclusive_taxes = true;
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
private function buildLineItems()
|
||||
|
|
|
|||
Loading…
Reference in New Issue