Skip to content

Commit e95b899

Browse files
committed
test: add missing assertDispatched in between-cards movement test
1 parent 3f0375d commit e95b899

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Standalone/StandaloneBoardTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
$taskToMove = Task::factory()->todo()->withPosition('65535.0000000000')->create();
4949

5050
Livewire::test(TestStandaloneBoard::class)
51-
->call('moveCard', (string) $taskToMove->id, 'in_progress', (string) $task1->id, (string) $task2->id);
51+
->call('moveCard', (string) $taskToMove->id, 'in_progress', (string) $task1->id, (string) $task2->id)
52+
->assertDispatched('kanban-card-moved');
5253

5354
$movedTask = $taskToMove->fresh();
5455
expect($movedTask->status)->toBe('in_progress')

0 commit comments

Comments
 (0)