File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
CatalogWidget/Test/Unit/Model/Rule/Condition
Rule/Test/Unit/Model/Condition/Product Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -102,5 +102,7 @@ public function testGetMappedSqlFieldSku()
102
102
{
103
103
$ this ->model ->setAttribute ('sku ' );
104
104
$ this ->assertEquals ('e.sku ' , $ this ->model ->getMappedSqlField ());
105
+ $ this ->model ->setAttribute ('attribute_set_id ' );
106
+ $ this ->assertEquals ('e.attribute_set_id ' , $ this ->model ->getMappedSqlField ());
105
107
}
106
108
}
Original file line number Diff line number Diff line change @@ -282,6 +282,8 @@ public function testGetMappedSqlField()
282
282
{
283
283
$ this ->_condition ->setAttribute ('category_ids ' );
284
284
$ this ->assertEquals ('e.entity_id ' , $ this ->_condition ->getMappedSqlField ());
285
+ $ this ->_condition ->setAttribute ('attribute_set_id ' );
286
+ $ this ->assertEquals ('e.attribute_set_id ' , $ this ->_condition ->getMappedSqlField ());
285
287
}
286
288
287
289
/**
You can’t perform that action at this time.
0 commit comments