From 30af7e02ca75f06426db41e8fff06e111ba52441 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 27 Sep 2024 12:49:57 +0300 Subject: [PATCH] test fix --- tests/unit/Espo/Core/Portal/Acl/ScopeCheckerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/Espo/Core/Portal/Acl/ScopeCheckerTest.php b/tests/unit/Espo/Core/Portal/Acl/ScopeCheckerTest.php index 9ba0a3fe86..0d03b4843e 100644 --- a/tests/unit/Espo/Core/Portal/Acl/ScopeCheckerTest.php +++ b/tests/unit/Espo/Core/Portal/Acl/ScopeCheckerTest.php @@ -76,7 +76,7 @@ class ScopeCheckerTest extends \PHPUnit\Framework\TestCase $result = $this->scopeChecker->check($data); - $this->assertEquals(false, $result); + $this->assertEquals(true, $result); } public function testCheckerNoData4() @@ -524,6 +524,6 @@ class ScopeCheckerTest extends \PHPUnit\Framework\TestCase $result = $this->scopeChecker->check($data, null, $checkerData); - $this->assertEquals(false, $result); + $this->assertEquals(true, $result); } }