tipo: modificación del cpanel y gitignore de la carpeta vendor
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
test('profile information can be updated', function () {
|
||||
$this->actingAs($user = User::factory()->create());
|
||||
|
||||
$this->put('/user/profile-information', [
|
||||
'name' => 'Test Name',
|
||||
'email' => 'test@example.com',
|
||||
]);
|
||||
|
||||
expect($user->fresh())
|
||||
->name->toEqual('Test Name')
|
||||
->email->toEqual('test@example.com');
|
||||
});
|
||||
Reference in New Issue
Block a user