diff --git a/tests/Twig/ExtensionTest.php b/tests/Twig/ExtensionTest.php index 9a3d76d569..10d7eb4a89 100644 --- a/tests/Twig/ExtensionTest.php +++ b/tests/Twig/ExtensionTest.php @@ -35,7 +35,6 @@ declare(strict_types = 1); namespace App\Tests\Twig; -use App\Core\DB\DB; use App\Twig\Extension; use App\Twig\Runtime; use App\Util\GNUsocialTestCase; @@ -100,14 +99,4 @@ class ExtensionTest extends GNUsocialTestCase static::assertSame('active', $runtime->isCurrentRouteActive('current_route')); static::assertSame('', $runtime->isCurrentRouteActive('some_route', 'some_other_route')); } - - public function testGetNoteActions() - { - static::bootKernel(); - - $req = $this->createMock(Request::class); - $runtime = new Runtime; - $runtime->setRequest($req); - static::assertSame([], $runtime->getNoteActions(DB::dql('select n from note n where n.content = \'some content\'')[0])); - } }