Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add count method to InMemoryRepository #42

Merged
merged 3 commits into from
Jan 30, 2024
Merged

Add count method to InMemoryRepository #42

merged 3 commits into from
Jan 30, 2024

Conversation

Firehed
Copy link
Owner

@Firehed Firehed commented Jan 30, 2024

There's a non-interface method (that's noted as "add to interface in next major version" internally) to get a count of a result set. This adds the same to Mocktrine.

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2b774fe) 66.16% compared to head (4ccd175) 66.36%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #42      +/-   ##
============================================
+ Coverage     66.16%   66.36%   +0.20%     
- Complexity      130      131       +1     
============================================
  Files             5        5              
  Lines           334      336       +2     
============================================
+ Hits            221      223       +2     
  Misses          113      113              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Firehed Firehed merged commit a9ccce6 into master Jan 30, 2024
14 checks passed
@Firehed Firehed deleted the repo-count branch January 30, 2024 03:28
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