File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1818
1919class SortbyTest extends TestCase
2020{
21- const DEFAULT_ATTRIBUTE_CODE = 'attribute_name ' ;
21+ private const DEFAULT_ATTRIBUTE_CODE = 'attribute_name ' ;
2222
2323 /**
2424 * @var Sortby
@@ -45,7 +45,6 @@ class SortbyTest extends TestCase
4545 */
4646 protected function setUp (): void
4747 {
48- $ this ->markTestSkipped ('Due to MAGETWO-48956 ' );
4948 $ this ->objectHelper = new ObjectManager ($ this );
5049 $ this ->scopeConfig = $ this ->getMockForAbstractClass (ScopeConfigInterface::class);
5150 $ this ->model = $ this ->objectHelper ->getObject (
@@ -217,7 +216,7 @@ public function testValidateUnique(): void
217216 {
218217 $ this ->attribute ->expects ($ this ->any ())->method ('getName ' )->willReturn ('attribute_name ' );
219218 $ this ->attribute ->method ('getIsRequired ' );
220- $ this ->attribute§ ('getIsUnique ' )
219+ $ this ->attribute -> method ('getIsUnique ' )
221220 ->willReturn (true );
222221
223222 $ entityMock = $ this ->getMockForAbstractClass (
You can’t perform that action at this time.
0 commit comments