Skip to content

Commit

Permalink
Add a PHPUnit group to integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <[email protected]>
  • Loading branch information
williamdes committed Jan 10, 2025
1 parent 2006c55 commit 572810e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/I18nExtensionMoTranslatorDebugTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
use PhpMyAdmin\MoTranslator\Loader;
use PhpMyAdmin\Tests\Twig\Extensions\MoTranslator\I18nExtensionDebug;
use PhpMyAdmin\Twig\Extensions\I18nExtension;
use PHPUnit\Framework\Attributes\Group;
use Twig\Extension\ExtensionInterface;
use Twig\Test\IntegrationTestCase;

#[Group('integration')]
class I18nExtensionMoTranslatorDebugTest extends IntegrationTestCase
{
public static function setUpBeforeClass(): void
Expand Down
2 changes: 2 additions & 0 deletions test/I18nExtensionMoTranslatorSandboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@

use PhpMyAdmin\MoTranslator\Loader;
use PhpMyAdmin\Twig\Extensions\I18nExtension;
use PHPUnit\Framework\Attributes\Group;
use Twig\Extension\ExtensionInterface;
use Twig\Extension\SandboxExtension;
use Twig\Sandbox\SecurityPolicy;
use Twig\Test\IntegrationTestCase;

#[Group('integration')]
class I18nExtensionMoTranslatorSandboxTest extends IntegrationTestCase
{
public static function setUpBeforeClass(): void
Expand Down
2 changes: 2 additions & 0 deletions test/I18nExtensionMoTranslatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@

use PhpMyAdmin\MoTranslator\Loader;
use PhpMyAdmin\Tests\Twig\Extensions\MoTranslator\I18nExtensionMoTranslator;
use PHPUnit\Framework\Attributes\Group;
use Twig\Extension\ExtensionInterface;
use Twig\Test\IntegrationTestCase;

#[Group('integration')]
class I18nExtensionMoTranslatorTest extends IntegrationTestCase
{
public static function setUpBeforeClass(): void
Expand Down
2 changes: 2 additions & 0 deletions test/I18nExtensionSandboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
namespace PhpMyAdmin\Tests\Twig\Extensions\Node;

use PhpMyAdmin\Twig\Extensions\I18nExtension;
use PHPUnit\Framework\Attributes\Group;
use Twig\Extension\ExtensionInterface;
use Twig\Extension\SandboxExtension;
use Twig\Sandbox\SecurityPolicy;
use Twig\Test\IntegrationTestCase;

#[Group('integration')]
class I18nExtensionSandboxTest extends IntegrationTestCase
{
/** @return ExtensionInterface[] */
Expand Down

0 comments on commit 572810e

Please sign in to comment.