-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f849a30
commit 30ad502
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ public function test_it_calls_the_overriden_stored_bulk_method(): void | |
'name' => $user->name, | ||
'email' => '[email protected]', | ||
'password' => $user->password, | ||
] | ||
], | ||
])->assertSuccessful(); | ||
|
||
$this->assertEquals('[email protected]', $user->first()->email); | ||
|
@@ -42,7 +42,7 @@ public function test_it_calls_the_overriden_updated_bulk_method(): void | |
[ | ||
'id' => $user->id, | ||
'email' => '[email protected]', | ||
] | ||
], | ||
])->assertSuccessful(); | ||
|
||
$this->assertEquals('[email protected]', $user->fresh()->email); | ||
|
@@ -57,7 +57,7 @@ public function test_it_calls_the_overriden_saved_bulk_method_for_create(): void | |
'name' => $user->name, | ||
'email' => '[email protected]', | ||
'password' => $user->password, | ||
] | ||
], | ||
])->assertSuccessful(); | ||
|
||
$this->assertEquals('John Saved', $user->first()->name); | ||
|
@@ -71,7 +71,7 @@ public function test_it_calls_the_overriden_saved_bulk_method_for_update(): void | |
[ | ||
'id' => $user->id, | ||
'email' => '[email protected]', | ||
] | ||
], | ||
])->assertSuccessful(); | ||
|
||
$this->assertEquals('John Saved', $user->fresh()->name); | ||
|