]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/ACLTest.php
Merge pull request #11195 from annando/issue-10966
[friendica.git] / tests / src / Core / ACLTest.php
index 920bc5055179117146f2f56d1580777fa354f954..d8a9cab25434faaaa18b97defde10d582e6414df 100644 (file)
@@ -22,7 +22,6 @@
 namespace Friendica\Test\src\Core;
 
 use Friendica\Core\ACL;
-use Friendica\Module\BaseApi;
 use Friendica\Test\FixtureTest;
 
 class ACLTest extends FixtureTest
@@ -34,7 +33,7 @@ class ACLTest extends FixtureTest
         */
        public function testCheckAclInput()
        {
-               $result = ACL::isValidContact('<aclstring>', BaseApi::getCurrentUserID());
+               $result = ACL::isValidContact('<aclstring>', '42');
                self::assertFalse($result);
        }
 
@@ -45,7 +44,7 @@ class ACLTest extends FixtureTest
         */
        public function testCheckAclInputWithEmptyAclString()
        {
-               $result = ACL::isValidContact('', BaseApi::getCurrentUserID());
+               $result = ACL::isValidContact('', '42');
                self::assertTrue($result);
        }
 }