Skip to content

Conversation

@inoorinoor
Copy link

ProjectFilter currently does not expose its internal fields via getters, which makes it difficult to verify filter configuration in tests.

In my tests, I need to ensure that ProjectFilter is created with a specific lastActivityAfter value. A similar approach is already possible with MergeRequestFilter, which provides getters for its fields, but ProjectFilter does not.

This PR adds getters to ProjectFilter to improve testability and make its API more consistent with other filter classes in the project.

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