Upgrade to Laravel 10, Vite 5+

This commit is contained in:
Darko Gjorgjijoski
2024-01-28 17:17:32 +01:00
parent 35e897a731
commit cd9df54c5b
43 changed files with 3428 additions and 3175 deletions

View File

@@ -92,5 +92,5 @@ test('delete custom field', function () {
'success' => true,
]);
$this->assertDeleted($customField);
$this->assertModelMissing($customField);
});

View File

@@ -259,7 +259,7 @@ test('delete multiple estimates', function () {
]);
foreach ($estimates as $estimate) {
$this->assertDeleted($estimate);
$this->assertModelMissing($estimate);
}
});

View File

@@ -89,5 +89,5 @@ test('delete category', function () {
'success' => true,
]);
$this->assertDeleted($category);
$this->assertModelMissing($category);
});

View File

@@ -129,7 +129,7 @@ test('delete multiple expenses', function () {
]);
foreach ($expenses as $expense) {
$this->assertDeleted($expense);
$this->assertModelMissing($expense);
}
});

View File

@@ -242,7 +242,7 @@ test('delete multiple invoices', function () {
]);
foreach ($invoices as $invoice) {
$this->assertDeleted($invoice);
$this->assertModelMissing($invoice);
}
});

View File

@@ -121,7 +121,7 @@ test('delete multiple items', function () {
postJson("/api/v1/items/delete", $data)->assertOk();
foreach ($items as $item) {
$this->assertDeleted($item);
$this->assertModelMissing($item);
}
});

View File

@@ -62,5 +62,5 @@ test('delete note', function () {
'success' => true,
]);
$this->assertDeleted($note);
$this->assertModelMissing($note);
});

View File

@@ -101,5 +101,5 @@ test('delete payment method', function () {
$response->assertOk();
$this->assertDeleted($method);
$this->assertModelMissing($method);
});

View File

@@ -111,7 +111,7 @@ test('delete multiple recurring invoice', function () {
]);
foreach ($recurringInvoices as $recurringInvoice) {
$this->assertDeleted($recurringInvoice);
$this->assertModelMissing($recurringInvoice);
}
});

View File

@@ -84,7 +84,7 @@ test('delete tax type', function () {
'success' => true,
]);
$this->assertDeleted($taxType);
$this->assertModelMissing($taxType);
});

View File

@@ -97,5 +97,5 @@ test('delete unit', function () {
$response->assertOk();
$this->assertDeleted($unit);
$this->assertModelMissing($unit);
});

View File

@@ -92,5 +92,5 @@ test('update user using a form request', function () {
// postJson("/api/v1/users/delete", $data)
// ->assertOk();
// $this->assertDeleted($user);
// $this->assertModelMissing($user);
// });