mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-11 18:06:46 +00:00
28 lines
728 B
PHP
28 lines
728 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Twig.
|
|
*
|
|
* (c) Fabien Potencier
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Twig\Tests\Test;
|
|
|
|
use PHPUnit\Framework\Attributes\Group;
|
|
use PHPUnit\Framework\TestCase;
|
|
use Twig\Test\IntegrationTestCase;
|
|
|
|
final class IntegrationTestCaseTest extends TestCase
|
|
{
|
|
public function testLegacyIntegrationTestsAreInLegacyGroup(): void
|
|
{
|
|
$attributes = (new \ReflectionMethod(IntegrationTestCase::class, 'testLegacyIntegration'))->getAttributes(Group::class);
|
|
|
|
$this->assertCount(1, $attributes);
|
|
$this->assertSame('legacy', $attributes[0]->newInstance()->name());
|
|
}
|
|
}
|