We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 568203b commit ca3b257Copy full SHA for ca3b257
dev/tests/functional/tests/app/Magento/Contact/Test/Fixture/Comment/Customer.php
@@ -69,8 +69,11 @@ public function getData($key = null)
69
$this->data = [
70
'firstname' => $customer->getFirstname(),
71
'email' => $customer->getEmail(),
72
- 'telephone' => $customer->hasData('telephone') ? $customer->getData('telephone') : ''
73
];
+
74
+ if ($customer->hasData('telephone')) {
75
+ $this->data['telephone'] = $customer->getData('telephone');
76
+ }
77
}
78
79
return parent::getData($key);
0 commit comments