mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:50:11 +00:00
Moved tests, changes after review
This commit is contained in:
parent
0c5d2abf6b
commit
543cc7f51f
3 changed files with 69 additions and 44 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue