Upgrade framework to laravel 9

This commit is contained in:
Deon George
2022-04-20 18:16:13 +10:00
parent 3fb6c0a052
commit 40d12b906b
8 changed files with 1557 additions and 1531 deletions

View File

@@ -42,13 +42,11 @@ class InvoiceTest extends TestCase
$this->site_setup();
$this->account_setup();
dump($this->setup['site']);
// Create two services for the same account
// First service was billed a month ago, so this invoice will have 1 service charge
$po = Product::factory()->notStrict()->create([
'site_id'=>Arr::get($this->setup,'site.a')->site_id,
]);
dump($po);
$o = Service::factory()->create([
'site_id'=>Arr::get($this->setup,'site.a')->site_id,
'account_id'=>Arr::get($this->setup,'account.a')->id,