mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
replace more calls of DI::app(), add workaround for tests
This commit is contained in:
parent
ba65cad1cd
commit
a583cc9b0e
9 changed files with 61 additions and 14 deletions
|
@ -124,7 +124,7 @@ class StatusTest extends FixtureTestCase
|
|||
*/
|
||||
public function testApiFormatItems()
|
||||
{
|
||||
// This call is needed for this test
|
||||
// @todo: This call is needed for this test
|
||||
Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
|
||||
|
||||
$posts = DI::dba()->selectToArray('post-view', ['uri-id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue