Skip to content

Commit 22434a1

Browse files
Indrani sonawaneIndrani sonawane
authored andcommitted
Merge remote-tracking branch '37629-v1/fix-typo-in-unit-test-and-no-longer-skip-running-it' into comm_247beta3
2 parents 8e9fd0e + e5e3f11 commit 22434a1

File tree

1 file changed

+2
-3
lines changed
  • app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend

1 file changed

+2
-3
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class 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(

0 commit comments

Comments
 (0)