mirror of
https://github.com/friendica/friendica
synced 2024-11-17 20:23:40 +00:00
Replace deprecated usages
This commit is contained in:
parent
31ca758d4e
commit
7d967f64a7
3 changed files with 5 additions and 3 deletions
|
@ -39,8 +39,8 @@ class UpdateTest extends ApiTest
|
|||
$json = $this->toJson($response);
|
||||
|
||||
self::assertStatus($json);
|
||||
self::assertContains('Status content #friendica', $json->text);
|
||||
self::assertContains('Status content #', $json->statusnet_html);
|
||||
self::assertStringContainsString('Status content #friendica', $json->text);
|
||||
self::assertStringContainsString('Status content #', $json->statusnet_html);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ use Friendica\Test\src\Module\Api\ApiTest;
|
|||
|
||||
class BaseApiTest extends ApiTest
|
||||
{
|
||||
public function withWrongAuth()
|
||||
public function testWithWrongAuth()
|
||||
{
|
||||
self::markTestIncomplete('Needs BasicAuth as dynamic method for overriding first');
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace Friendica\Test\src\Util;
|
||||
|
||||
use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts;
|
||||
use Friendica\Test\DiceHttpMockHandlerTrait;
|
||||
use Friendica\Test\MockedTest;
|
||||
use Friendica\Util\Images;
|
||||
|
@ -11,6 +12,7 @@ use GuzzleHttp\Psr7\Response;
|
|||
class ImagesTest extends MockedTest
|
||||
{
|
||||
use DiceHttpMockHandlerTrait;
|
||||
use ArraySubsetAsserts;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue