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

[5.x] Ensure expectation count isnt negative if Version is not called #9863

Merged

Conversation

ryanmitchell
Copy link
Contributor

Since eloquent driver was updated to use AddonTestCase its being showing warning about skipping tests, which I've worked out is due to a negative assertion count.

It seems to be due to it not triggering a call to version, so the simple fix is to allow this to be called zero or more time.

@jasonvarga jasonvarga changed the title [5.x] Ensure assertation count isnt negative if Version is not called [5.x] Ensure expectation count isnt negative if Version is not called Apr 11, 2024
@jasonvarga jasonvarga merged commit a268556 into statamic:master Apr 11, 2024
16 checks passed
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.

3 participants