added it_get_all_invoices_from_admin, it_get_single_user_invoice_page test

This commit is contained in:
Peter Papp
2021-03-07 09:50:04 +01:00
parent da7aee2790
commit 5660fcd4dc
6 changed files with 159 additions and 112 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ Route::group(['middleware' => ['auth:api', 'auth.shared', 'auth.master', 'scope:
});
// Get user invoice
Route::group(['middleware' => ['auth:api', 'auth.master', 'scope:master']], function () {
Route::group(['middleware' => ['auth:sanctum']], function () {
Route::get('/invoice/{customer}/{token}', [InvoiceController::class, 'show']);
});