mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Revert "Replace Module::init() with Constructors"
This commit is contained in:
parent
0b6e0566d7
commit
89d6c89b67
43 changed files with 921 additions and 1225 deletions
|
@ -67,7 +67,7 @@ class NotificationTest extends ApiTest
|
|||
</notes>
|
||||
XML;
|
||||
|
||||
$notification = new Notification(DI::l10n(), ['extension' => 'xml']);
|
||||
$notification = new Notification(['extension' => 'xml']);
|
||||
$notification->rawContent();
|
||||
|
||||
self::assertXmlStringEqualsXmlString($assertXml, ApiResponseDouble::getOutput());
|
||||
|
@ -75,7 +75,7 @@ XML;
|
|||
|
||||
public function testWithJsonResult()
|
||||
{
|
||||
$notification = new Notification(DI::l10n(),['parameter' => 'json']);
|
||||
$notification = new Notification(['parameter' => 'json']);
|
||||
$notification->rawContent();
|
||||
|
||||
$result = json_encode(ApiResponseDouble::getOutput());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue