From f377fb5705e23c3fcb5b29c64eca56875a6bce0f Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sun, 4 Nov 2018 22:59:15 +0100 Subject: [PATCH] Optimized test --- application/tests/Unit/Entity/Meta/RecieverTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/tests/Unit/Entity/Meta/RecieverTest.php b/application/tests/Unit/Entity/Meta/RecieverTest.php index 2e4b0f2..f4e3c56 100644 --- a/application/tests/Unit/Entity/Meta/RecieverTest.php +++ b/application/tests/Unit/Entity/Meta/RecieverTest.php @@ -60,7 +60,8 @@ class RecieverTest extends TestCase $group2->getCollection()->add($group1); $group2->getCollection()->add($user2); $group2->getCollection()->add($user3); - $group3->getCollection()->add($group2); + $group2->getCollection()->add($group3); + $this->reciever->getMembers()->add($group1); $this->assertEquals(6, $this->reciever->getMembersIncludingChildren()->count()); } }