Skip to content

Commit 68ae085

Browse files
committed
MC-40085: Create automated test for: "Try to change category design by restricted admin"
1 parent be95b7f commit 68ae085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Category/AuthorizationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function tearDown(): void
6464
*
6565
* @return void
6666
*/
67-
public function testAuthorizationWit(): void
67+
public function testAuthorizationWithoutPermissions(): void
6868
{
6969
$category = $this->createCategoryWithData(['entity_id' => 333, 'custom_use_parent_settings' => true]);
7070
$this->expectException(AuthorizationException::class);
@@ -75,7 +75,7 @@ public function testAuthorizationWit(): void
7575
/**
7676
* @return void
7777
*/
78-
public function testWithWrongCategoryId(): void
78+
public function testAuthorizationWithWrongCategoryId(): void
7979
{
8080
$wrongCategoryId = 56464654;
8181
$category = $this->createCategoryWithData(['entity_id' => $wrongCategoryId]);

0 commit comments

Comments
 (0)