Setup pint & run code style fix

This commit is contained in:
gdarko
2024-01-29 04:46:01 -06:00
parent 8de34efd8c
commit 4ab92473e9
406 changed files with 1616 additions and 2026 deletions

View File

@@ -1,8 +1,9 @@
<?php
use InvoiceShelf\Models\User;
use Illuminate\Support\Facades\Artisan;
use InvoiceShelf\Models\User;
use Laravel\Sanctum\Sanctum;
use function Pest\Laravel\postJson;
beforeEach(function () {
@@ -21,15 +22,15 @@ beforeEach(function () {
test('create super admin role', function () {
$data = [
"email" => "loremipsum@gmail.com",
"name" => "lorem",
"password" => "lorem@123"
'email' => 'loremipsum@gmail.com',
'name' => 'lorem',
'password' => 'lorem@123',
];
$data['companies'] = [
[
"role" => "super admin",
"id" => 1
]
'role' => 'super admin',
'id' => 1,
],
];
postJson('api/v1/users', $data)