Files
oficial/app/tests/extension/ContainerTrait.php
aldarien 61c813fc08 feature/cierres (#30)
Reservas agregar y aprobar

Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl>
Reviewed-on: #30
2025-09-11 15:16:12 -03:00

16 lines
362 B
PHP

<?php
namespace Tests\Extension;
use Psr\Container\ContainerInterface;
trait ContainerTrait
{
protected ContainerInterface $container;
protected function setUp(): void
{
parent::setUp();
require_once implode(DIRECTORY_SEPARATOR, [dirname(__DIR__, 2), 'setup', 'container.php']);
$this->container = buildContainer();
}
}