From 8c5e1d30fc69739fde418db9543f07d4bd315a8d Mon Sep 17 00:00:00 2001 From: Edycar Reyes <edycarreyes@gmail.com> Date: Thu, 11 Jun 2020 18:43:18 -0600 Subject: [PATCH] Trying to fix phpunit pipeline errors --- .../Kernel/Plugin/migrate_plus/data_parser/SimpleXmlTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/Kernel/Plugin/migrate_plus/data_parser/SimpleXmlTest.php b/tests/src/Kernel/Plugin/migrate_plus/data_parser/SimpleXmlTest.php index 0b93f3a0..9df4c87b 100644 --- a/tests/src/Kernel/Plugin/migrate_plus/data_parser/SimpleXmlTest.php +++ b/tests/src/Kernel/Plugin/migrate_plus/data_parser/SimpleXmlTest.php @@ -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(); -- GitLab