Commit 8c5e1d30 authored by edycarreyes99's avatar edycarreyes99
Browse files

Trying to fix phpunit pipeline errors

parent 6b253261
......@@ -131,7 +131,7 @@ class SimpleXmlTest extends KernelTestBase {
$url = $this->path . '/tests/data/simple_xml_broken_missing_tag.xml';
$this->configuration['urls'][0] = $url;
$this->expectException(MigrateException::class);
$this->expectExceptionMessageRegExp('/^Fatal Error 73/');
$this->expectExceptionMessageMatches('/^Fatal Error 73/');
$parser = $this->pluginManager->createInstance('simple_xml', $this->configuration);
$parser->next();
}
......@@ -146,7 +146,7 @@ class SimpleXmlTest extends KernelTestBase {
$this->configuration['urls'][0] = $url;
$this->expectException(MigrateException::class);
$this->expectExceptionMessageRegExp('/^Fatal Error 76/');
$this->expectExceptionMessageMatches('/^Fatal Error 76/');
$parser = $this->pluginManager->createInstance('simple_xml', $this->configuration);
$parser->next();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment