Skip to content

Commit 7f70942

Browse files
committed
MAGETWO-56156: [GITHUB] Using API cannot create Tax Rate with a zero rate #4873
1 parent 3c2cf42 commit 7f70942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/Tax/Api/TaxRateRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function testCreateTaxRateWithoutValue()
173173
} catch (\Exception $e) {
174174
$errorObj = $this->processRestExceptionResult($e);
175175
$this->assertEquals($expectedMessage, $errorObj['message']);
176-
$this->assertEquals(['percentage_rate'], $errorObj['parameters']);
176+
$this->assertEquals(['fieldName' => 'percentage_rate'], $errorObj['parameters']);
177177
}
178178
}
179179

0 commit comments

Comments
 (0)