Skip to content

Commit 9875588

Browse files
MAGETWO-50026: [Github] SalesInvoiceRepository attributes not correctly type cast #3605
1 parent e8e38e1 commit 9875588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/OrderGetTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public function testOrderGet()
8383
}
8484

8585
//check that nullable fields were marked as optional and were not sent
86-
foreach ($result as $value) {
87-
$this->assertNotNull($value);
86+
foreach ($result as $key => $value) {
87+
$this->assertNotNull($value, 'Failed asserting that "' . $key . '" field is not null.');
8888
}
8989
}
9090
}

0 commit comments

Comments
 (0)