Skip to content

Refactor GetAllEntries test to filter old entries - #732

Merged
poppastring merged 1 commit into
mainfrom
fixing-errors-in-test
Nov 3, 2025
Merged

poppastring merged 1 commit into
mainfrom
fixing-errors-in-test

Conversation

@poppastring

Copy link
Copy Markdown
Owner

Refactor GetAllEntries test to filter old entries

Updated the GetAllEntries_ReturnsEntries test to include logic for filtering entries older than 10 days using LINQ. Added System.Linq to using directives. Replaced original assertions with checks for the filtered oldEntries collection, ensuring it contains 23 entries and validates the title of the first entry.

Updated the `GetAllEntries_ReturnsEntries` test to include logic for filtering entries older than 10 days using LINQ. Added `System.Linq` to `using` directives. Replaced original assertions with checks for the filtered `oldEntries` collection, ensuring it contains 23 entries and validates the title of the first entry.
@poppastring
poppastring merged commit edd88bc into main Nov 3, 2025
@poppastring
poppastring deleted the fixing-errors-in-test branch November 3, 2025 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant