Skip to content

[5.x] Remove negative assertions from TestCase#14458

Merged
jasonvarga merged 1 commit into5.xfrom
backport-assert-count
Apr 8, 2026
Merged

[5.x] Remove negative assertions from TestCase#14458
jasonvarga merged 1 commit into5.xfrom
backport-assert-count

Conversation

@duncanmcclean
Copy link
Copy Markdown
Member

Backports #13674 to 5.x.

Fixes #14446

Related: el-schneider/statamic-calendar@2a0e57c

duncanmcclean referenced this pull request in el-schneider/statamic-calendar Apr 8, 2026
AddonTestCase is broken on PHPUnit 12 (statamic/cms#13674 was
only backported to 6.x). Keep the custom TestCase that omits
the addToAssertionCount(-1) calls until Statamic ships a 5.x fix.
@jasonvarga jasonvarga merged commit f3893f6 into 5.x Apr 8, 2026
28 checks passed
@jasonvarga jasonvarga deleted the backport-assert-count branch April 8, 2026 16:01
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.

2 participants