Skip to content

Commit 9edcb27

Browse files
derrabusfabpot
authored andcommitted
Modernized deprecated PHPUnit assertion calls
1 parent 9e2aa97 commit 9edcb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Util/XmlUtilsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function testLoadFile()
8181
XmlUtils::loadFile($fixtures.'valid.xml', [$mock, 'validate']);
8282
$this->fail();
8383
} catch (\InvalidArgumentException $e) {
84-
$this->assertRegExp('/The XML file ".+" is not valid\./', $e->getMessage());
84+
$this->assertMatchesRegularExpression('/The XML file ".+" is not valid\./', $e->getMessage());
8585
}
8686

8787
$this->assertInstanceOf('DOMDocument', XmlUtils::loadFile($fixtures.'valid.xml', [$mock, 'validate']));

0 commit comments

Comments
 (0)