mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Renamed SandboxedTwigProvider to SandboxedTwig Factory
This commit is contained in:
parent
a2cd5652d2
commit
1da3225e1d
3 changed files with 8 additions and 7 deletions
|
@ -47,18 +47,18 @@ use App\Entity\LabelSystem\LabelSupportedElement;
|
|||
use App\Entity\Parts\Part;
|
||||
use App\Entity\Parts\PartLot;
|
||||
use App\Entity\Parts\StorageLocation;
|
||||
use App\Services\LabelSystem\SandboxedTwigProvider;
|
||||
use App\Services\LabelSystem\SandboxedTwigFactory;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
|
||||
class SandboxedTwigProviderTest extends WebTestCase
|
||||
class SandboxedTwigFactoryTest extends WebTestCase
|
||||
{
|
||||
private ?object $service = null;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->service = self::getContainer()->get(SandboxedTwigProvider::class);
|
||||
$this->service = self::getContainer()->get(SandboxedTwigFactory::class);
|
||||
}
|
||||
|
||||
public function twigDataProvider(): array
|
Loading…
Add table
Add a link
Reference in a new issue