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

Create CategoryRegister Interface to allow for Unit Testing #56

Open
RoussKS opened this issue Mar 3, 2024 · 0 comments
Open

Create CategoryRegister Interface to allow for Unit Testing #56

RoussKS opened this issue Mar 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@RoussKS
Copy link

RoussKS commented Mar 3, 2024

Test doubles are now prohibited in various testing libraries for final classes.

As such, creating Unit Tests for CategoryRegister is a lot harder, because the abstract class ClassRegister, which can be doubled, will fail PHP typed params.

@RoussKS RoussKS self-assigned this Mar 3, 2024
@RoussKS RoussKS added the enhancement New feature or request label Mar 3, 2024
@uphlewis uphlewis added this to the v5.0 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants