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 b3789a4 commit f8b2344Copy full SHA for f8b2344
dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml/GroupTest.php
@@ -161,16 +161,15 @@ public function testSaveActionExistingGroup()
161
);
162
}
163
164
- public function testSaveActionCreateNewGroup()
+ public function testSaveActionCreateNewGroupWithoutCode()
165
{
166
$this->getRequest()->setParam('tax_class', self::TAX_CLASS_ID);
167
- $this->getRequest()->setParam('code', 'group_code');
168
169
$this->dispatch('backend/customer/group/save');
170
171
$this->assertSessionMessages(
172
- $this->equalTo(['You saved the customer group.']),
173
- MessageInterface::TYPE_SUCCESS
+ $this->equalTo(['code is a required field.']),
+ MessageInterface::TYPE_ERROR
174
175
176
0 commit comments