Fix test_story_budget_set_number_days_filter_invalid in PHP 8.0#644
Conversation
|
Looking at the code, it looks like this is set to be However, in the test it doesn't look like we're casting as Instead of changing the code, would it make more sense to update the test to cast as |
This is a good point!
L68 here is already an However, actually, #639 mentions the error in other lines and test case: We can get rid of this test case but I think it's still good to keep this test and practice defensive coding for the |
mikeyarce
left a comment
There was a problem hiding this comment.
After discussion, this sounds like a good approach!
Fix #639
Description
Details here #639 (comment)
This PR should be merged after this PR #643 - actually, this PR is rebased on PR 643.
Steps to Test
bash bin/install-wp-tests.sh wordpress_test root root.composer integration.