mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:50:11 +00:00
Fix a lot of notices/warnings/deprecation notes in the test directory
This commit is contained in:
parent
efaec26b1d
commit
d55ecb9288
77 changed files with 428 additions and 558 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
namespace Friendica\Test\src\Module\Api\Twitter;
|
||||
|
||||
use Friendica\Module\Api\Twitter\ContactEndpoint;
|
||||
|
||||
/**
|
||||
* Class ContactEndpointMock
|
||||
*
|
||||
|
@ -13,7 +15,7 @@ namespace Friendica\Test\src\Module\Api\Twitter;
|
|||
*
|
||||
* @package Friendica\Test\Mock\Module\Api\Twitter
|
||||
*/
|
||||
class ContactEndpointMock extends \Friendica\Module\Api\Twitter\ContactEndpoint
|
||||
class ContactEndpointMock extends ContactEndpoint
|
||||
{
|
||||
public static function __callStatic($name, $arguments)
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ namespace Friendica\Test\src\Module\Api\Twitter;
|
|||
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Module\Api\Twitter\ContactEndpoint;
|
||||
use Friendica\Network\HTTPException\InternalServerErrorException;
|
||||
use Friendica\Network\HTTPException\NotFoundException;
|
||||
use Friendica\Object\Api\Twitter\User;
|
||||
use Friendica\Test\FixtureTest;
|
||||
|
@ -172,7 +173,7 @@ class ContactEndpointTest extends FixtureTest
|
|||
* @depends testIds
|
||||
*
|
||||
* @throws NotFoundException
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public function testList()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue