File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
app/code/Magento/SalesRule/Model/ResourceModel
dev/tests/integration/testsuite/Magento/SalesRule/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ public function getActiveAttributes()
311
311
->group ('attribute_id ' );
312
312
$ select = $ connection ->select ()->from (
313
313
['a ' => $ subSelect ],
314
- new \Zend_Db_Expr ('DISTINCT ea.attribute_code ' )
314
+ new \Zend_Db_Expr ('ea.attribute_code ' )
315
315
)->joinInner (
316
316
['ea ' => $ this ->getTable ('eav_attribute ' )],
317
317
'ea.attribute_id = a.attribute_id ' ,
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ public function testAfterSave()
72
72
public function testGetActiveAttributes ()
73
73
{
74
74
$ rule = $ this ->fixtures ->get ('rule1 ' );
75
- $ items = $ this ->resource ->getActiveAttributes ();
76
75
$ rule ->setIsActive (1 );
77
76
$ rule ->save ();
78
77
$ items = $ this ->resource ->getActiveAttributes ();
You can’t perform that action at this time.
0 commit comments