Fix test without any assertions

This commit is contained in:
Fabien Potencier
2023-12-20 20:28:40 +01:00
parent fca89954f1
commit e6a98a000f
+2
View File
@@ -437,6 +437,8 @@ EOF
} catch (SecurityError $e) {
$this->fail('checkMethodAllowed is exiting prematurely after matching a child class and not seeing a method allowed on its parent class later in the list');
}
$this->expectNotToPerformAssertions();
}
protected function getEnvironment($sandboxed, $options, $templates, $tags = [], $filters = [], $methods = [], $properties = [], $functions = [], $sourcePolicy = null)