mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-20 19:54:08 +00:00
Setup pint & run code style fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user