Skip to content

Commit 93fc0ee

Browse files
author
solwininfotech
committed
integration test fails
1 parent 65ae5b0 commit 93fc0ee

File tree

1 file changed

+12
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Sales/Block/Adminhtml/Order/Create/Form

1 file changed

+12
-0
lines changed

dev/tests/integration/testsuite/Magento/Sales/Block/Adminhtml/Order/Create/Form/AccountTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,18 @@ public function testGetFormWithCustomer()
102102
sprintf('Unexpected field "%s" in form.', $element->getId())
103103
);
104104
}
105+
106+
self::assertContains(
107+
'<option value="'.$customerGroup.'" selected="selected">Wholesale</option>',
108+
$content,
109+
'The Customer Group specified for the chosen customer should be selected.'
110+
);
111+
112+
self::assertContains(
113+
'value="'.$customer->getEmail().'"',
114+
$content,
115+
'The Customer Email specified for the chosen customer should be input '
116+
);
105117
}
106118

107119
/**

0 commit comments

Comments
 (0)