Moved tests, changes after review

This commit is contained in:
Michael 2022-01-06 20:13:32 +00:00
parent 0c5d2abf6b
commit 543cc7f51f
3 changed files with 69 additions and 44 deletions

View file

@ -691,28 +691,6 @@ class ApiTest extends FixtureTest
$this->markTestIncomplete();
}
/**
* Test the ACL::isValidContact() function.
*
* @return void
*/
public function testCheckAclInput()
{
$result = ACL::isValidContact('<aclstring>', BaseApi::getCurrentUserID());
self::assertFalse($result);
}
/**
* Test the ACL::isValidContact() function with an empty ACL string.
*
* @return void
*/
public function testCheckAclInputWithEmptyAclString()
{
$result = ACL::isValidContact('', BaseApi::getCurrentUserID());
self::assertTrue($result);
}
/**
* Test the save_media_to_database() function.
*