mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-05 19:37:15 +00:00
Migrate NodeTestCase to static data providers
This commit is contained in:
@@ -25,7 +25,7 @@ class ArrayTest extends NodeTestCase
|
||||
$this->assertEquals($foo, $node->getNode('1'));
|
||||
}
|
||||
|
||||
public function getTests()
|
||||
public static function provideTests(): iterable
|
||||
{
|
||||
$elements = [
|
||||
new ConstantExpression('foo', 1),
|
||||
|
||||
Reference in New Issue
Block a user