replace more calls of DI::app(), add workaround for tests

This commit is contained in:
Art4 2024-12-18 21:19:01 +00:00
parent ba65cad1cd
commit a583cc9b0e
9 changed files with 61 additions and 14 deletions

View file

@ -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']);