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 18
18
19
19
class SortbyTest extends TestCase
20
20
{
21
- const DEFAULT_ATTRIBUTE_CODE = 'attribute_name ' ;
21
+ private const DEFAULT_ATTRIBUTE_CODE = 'attribute_name ' ;
22
22
23
23
/**
24
24
* @var Sortby
@@ -45,7 +45,6 @@ class SortbyTest extends TestCase
45
45
*/
46
46
protected function setUp (): void
47
47
{
48
- $ this ->markTestSkipped ('Due to MAGETWO-48956 ' );
49
48
$ this ->objectHelper = new ObjectManager ($ this );
50
49
$ this ->scopeConfig = $ this ->getMockForAbstractClass (ScopeConfigInterface::class);
51
50
$ this ->model = $ this ->objectHelper ->getObject (
@@ -217,7 +216,7 @@ public function testValidateUnique(): void
217
216
{
218
217
$ this ->attribute ->expects ($ this ->any ())->method ('getName ' )->willReturn ('attribute_name ' );
219
218
$ this ->attribute ->method ('getIsRequired ' );
220
- $ this ->attribute§ ('getIsUnique ' )
219
+ $ this ->attribute -> method ('getIsUnique ' )
221
220
->willReturn (true );
222
221
223
222
$ entityMock = $ this ->getMockForAbstractClass (
You can’t perform that action at this time.
0 commit comments