Skip to content
Snippets Groups Projects
Commit 3dbfc5e7 authored by Fabian Schmengler's avatar Fabian Schmengler
Browse files

Convert phrase to string

parent 485cd575
Branches
No related merge requests found
...@@ -200,7 +200,7 @@ class SettingsTest extends \PHPUnit\Framework\TestCase ...@@ -200,7 +200,7 @@ class SettingsTest extends \PHPUnit\Framework\TestCase
public function testGetAsConfigFileException($settingName, $expectedExceptionMsg) public function testGetAsConfigFileException($settingName, $expectedExceptionMsg)
{ {
$this->expectException(\Magento\Framework\Exception\LocalizedException::class); $this->expectException(\Magento\Framework\Exception\LocalizedException::class);
$this->expectExceptionMessage($expectedExceptionMsg); $this->expectExceptionMessage((string)$expectedExceptionMsg);
$this->_object->getAsConfigFile($settingName); $this->_object->getAsConfigFile($settingName);
} }
......
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