Skip to content

Commit 8cfcdc0

Browse files
committed
MAGETWO-51943: Required varchar and text eav attributes can be saved as empty string
1 parent 2dde44a commit 8cfcdc0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Type/AbstractType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Magento\Catalog\Api\ProductRepositoryInterface;
99
use Magento\Framework\App\Filesystem\DirectoryList;
1010
use Magento\Framework\Exception\LocalizedException;
11+
1112
/**
1213
* @api
1314
* Abstract model for product type implementation

app/code/Magento/Eav/Test/Unit/Model/Entity/Attribute/AbstractAttributeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public function testGetOptionWhenOptionsAreSet()
3333
->with(['options'])
3434
->willReturn('expected value');
3535

36-
3736
$this->assertEquals('expected value', $model->getOptions());
3837
}
3938

0 commit comments

Comments
 (0)