Skip to content

Fixed issue when include groups and test groups empty#6557

Merged
Naktibalda merged 2 commits intoCodeception:5.0from
geega:fixed-issue-when-include-groups-and-test-groups-empty
Aug 20, 2022
Merged

Fixed issue when include groups and test groups empty#6557
Naktibalda merged 2 commits intoCodeception:5.0from
geega:fixed-issue-when-include-groups-and-test-groups-empty

Conversation

@geega
Copy link
Copy Markdown
Contributor

@geega geega commented Aug 18, 2022

Had some bug in my own custom command
When we have included groups as an empty array and the test don't have any groups isGroupAccepted is always false.
Example

count(array_intersect([], [])) === 0) 

Comment thread src/Codeception/Test/Filter.php Outdated
@Naktibalda Naktibalda merged commit 9402b39 into Codeception:5.0 Aug 20, 2022
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