write new tests
This commit is contained in:
@@ -76,11 +76,10 @@ class StoreTest extends TestCase
|
||||
|
||||
public function test_can_create_a_call(): void
|
||||
{
|
||||
$operator = User::factory()->create();
|
||||
$operator->telephone_id = 'tel-' . $this->faker->unique()->numerify('###');
|
||||
$operator->save();
|
||||
$operator = User::factory()->create([
|
||||
'telephone_id' => $this->faker->unique()->numerify('###'),
|
||||
]);
|
||||
|
||||
DB::table('events')->truncate();
|
||||
$this->artisan('db:seed --class=EventSeeder');
|
||||
|
||||
$this->mock(NotificationService::class, function (MockInterface $mock) {
|
||||
|
||||
Reference in New Issue
Block a user