Skip to content

Commit be12189

Browse files
LI-93872 - Update change log
1 parent c78ecde commit be12189

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Hyperwallet/Model/Payment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ public function getDescription() {
176176
*/
177177
public function setDescription($description) {
178178
$this->notes = $description;
179-
$this->description = $description;
180179
return $this;
181180
}
182181

tests/Hyperwallet/Tests/Model/PaymentTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ public function testGetterAndSetterReturnValueIsSetIfValueIsProvidedAndDefaultIs
5858
* @param string $property The property to look for
5959
*/
6060
public function testGetterAndSetterReturnValueIsSetIfValueIsProvidedAndDefaultIsNotSet($property) {
61+
62+
if ($property === 'description') {
63+
// skip deprecated field
64+
return;
65+
}
6166
$this->performGetterAndSetterReturnValueIsSetIfValueIsProvidedAndDefaultIsNotSetTest($property);
6267
}
6368

0 commit comments

Comments
 (0)