DigiComp.FluidRenderFunctions/Tests/Functional/Fixtures/Controller/TestController.php
Ferdinand Kuhl 713941b688
Some checks failed
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline was successful
ci/woodpecker/push/functional-tests/2 Pipeline failed
ci/woodpecker/push/functional-tests/3 Pipeline failed
ci/woodpecker/push/functional-tests/4 Pipeline failed
replacing test entities from DataTablesAdapter with entities from FluidAdaptor
2024-06-01 23:25:49 +02:00

22 lines
556 B
PHP

<?php
declare(strict_types=1);
namespace DigiComp\FluidRenderFunctions\Tests\Functional\Fixtures\Controller;
use Neos\Flow\Mvc\Controller\ActionController;
use Neos\Flow\Persistence\Doctrine\Query;
use Neos\FluidAdaptor\Tests\Functional\Form\Fixtures\Domain\Model\Tag;
class TestController extends ActionController
{
public function indexAction()
{
$this->view->assign('test', ['name' => 'hallo']);
}
public function selectAction()
{
$this->view->assign('testEntities', (new Query(Tag::class))->execute());
}
}