Skip to content

Commit 0a72161

Browse files
author
Marcel Hauri
committed
[fix] Method Magento\Webapi\Model\Soap\Fault::toXml() invoked with 1 parameter, 0 required.
1 parent 919dd8c commit 0a72161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Webapi/Test/Unit/Model/Soap/FaultTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function testToXmlDeveloperModeOff()
125125
public function testToXmlDeveloperModeOn()
126126
{
127127
$this->_appStateMock->expects($this->any())->method('getMode')->will($this->returnValue('developer'));
128-
$actualXml = $this->_soapFault->toXml(true);
128+
$actualXml = $this->_soapFault->toXml();
129129
$this->assertContains('<m:Trace>', $actualXml, 'Exception trace is not found in XML.');
130130
}
131131

0 commit comments

Comments
 (0)