Skip to content

[BLL/MediatR/Timeline/TimelineItem/GetById/GetTimelineItemById] Handler ignores request.Id #32

@InnetaSh

Description

@InnetaSh

GetTimelineItemByIdHandler currently ignores request.Id when retrieving a timeline item.
Because of this, the query always returns the first timeline item from the repository.
Expected behavior:
The handler should retrieve a timeline item using:
predicate: ti => ti.Id == request.Id
Tasks:
Replace incorrect predicate
Verify correct timeline item retrieval by id

User story and test case links
E.g.: "Issue #3
Test case"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions