mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-08 04:45:47 +00:00
Update to PhpUnitBridge and fix deprecations
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ class ErrorTest extends \PHPUnit\Framework\TestCase
|
||||
$error = new Error('foo');
|
||||
$error->setSourceContext(new Source('', new \SplFileInfo(__FILE__)));
|
||||
|
||||
$this->assertContains('tests'.\DIRECTORY_SEPARATOR.'ErrorTest.php', $error->getMessage());
|
||||
$this->assertStringContainsString('tests'.\DIRECTORY_SEPARATOR.'ErrorTest.php', $error->getMessage());
|
||||
}
|
||||
|
||||
public function testErrorWithArrayFilename()
|
||||
|
||||
Reference in New Issue
Block a user