fix: adjusted drag and drop
This commit is contained in:
@@ -212,6 +212,19 @@ class ProjectBoardControllerTest extends TestCase
|
||||
'entry_type' => 'status_changed',
|
||||
'summary' => 'Moved from Todo to Done.',
|
||||
]);
|
||||
|
||||
$this->assertSame(1, $ticket->worklogEntries()->count());
|
||||
|
||||
$this->actingAs($user)
|
||||
->patch(route('projects.tickets.status.update', [$project, $ticket]), [
|
||||
'redirect_to' => 'board',
|
||||
'ticket_status_id' => $doneStatus->id,
|
||||
])
|
||||
->assertRedirect(route('projects.board.index', $project))
|
||||
->assertSessionHasNoErrors();
|
||||
|
||||
$this->assertSame($doneStatus->id, $ticket->fresh()->ticket_status_id);
|
||||
$this->assertSame(1, $ticket->worklogEntries()->count());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user