mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 13:26:37 +00:00
fixed tests
This commit is contained in:
@@ -16,6 +16,10 @@ class Twig_Tests_NativeExtensionTest extends \PHPUnit\Framework\TestCase
|
||||
*/
|
||||
public function testGetProperties()
|
||||
{
|
||||
if (PHP_VERSION_ID >= 70000) {
|
||||
$this->markTestSkipped('Extension is not available on PHP 7+');
|
||||
}
|
||||
|
||||
$twig = new Twig_Environment(new Twig_Loader_Array(['index' => '{{ d1.date }}{{ d2.date }}']), [
|
||||
'debug' => true,
|
||||
'cache' => false,
|
||||
|
||||
Reference in New Issue
Block a user