fix: collection unit test
This commit is contained in:
parent
d97e1674aa
commit
942bd4d56f
|
@ -19,8 +19,8 @@ class CollectionsTest extends TestCase
|
|||
|
||||
public function testDuplicateRules()
|
||||
{
|
||||
foreach ($this->collections as $collection) {
|
||||
if (in_array('rules', $collection)) {
|
||||
foreach ($this->collections as $key => $collection) {
|
||||
if (array_key_exists('rules', $collection)) {
|
||||
foreach ($collection['rules'] as $check) {
|
||||
$occurences = 0;
|
||||
foreach ($collection['rules'] as $rule) {
|
||||
|
|
Loading…
Reference in a new issue