From a2c2c8ce4aa597f4fe7a8e3367ce5992ae04880f Mon Sep 17 00:00:00 2001 From: Allan Mariucci Carvalho Date: Tue, 10 Dec 2024 20:24:59 -0300 Subject: [PATCH] fix test --- tests/ACL/UnitTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ACL/UnitTest.php b/tests/ACL/UnitTest.php index 3213b26..1291ac7 100644 --- a/tests/ACL/UnitTest.php +++ b/tests/ACL/UnitTest.php @@ -38,7 +38,7 @@ }); it('PolicyMaker has default rules working', function () { - $pm = new PolicyMaker(collect(), 'users', 'Users', 'Manage users') + $pm = (new PolicyMaker(collect(), 'users', 'Users', 'Manage users')) ->cancel() ->create() ->delete()