Skip to content

Commit d386dab

Browse files
alzotabubasuma
andauthored
Update app/code/Magento/Authorization/Test/Fixture/Role.php
Co-authored-by: Buba Soumah <[email protected]>
1 parent 39f83fc commit d386dab

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Authorization/Test/Fixture

1 file changed

+1
-1
lines changed

app/code/Magento/Authorization/Test/Fixture/Role.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function revert(DataObject $data): void
8282
{
8383

8484
$role = $this->roleFactory->create();
85-
$role->load($data->getData('role_name'), 'role_name');
85+
$role->load($data->getId());
8686

8787
if ($role->getId() !== null) {
8888
$role->delete();

0 commit comments

Comments
 (0)