Skip to content

Commit a3adc65

Browse files
committed
Fixed Unit Test failure
1 parent 9ea686d commit a3adc65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup/src/Magento/Setup/Test/Unit/Model/AdminAccountTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,13 @@ public function testSaveNewUserNewAdminRole(): void
297297
'SELECT * FROM ' . $this->prefix .
298298
'authorization_role WHERE parent_id = :parent_id AND tree_level = :tree_level ' .
299299
'AND role_type = :role_type AND user_id = :user_id ' .
300-
'AND user_type = :user_type AND role_name = :role_name',
300+
'AND user_type = :user_type ORDER BY sort_order DESC',
301301
[
302302
'parent_id' => 0,
303303
'tree_level' => 1,
304304
'role_type' => 'G',
305305
'user_id' => 0,
306306
'user_type' => 2,
307-
'role_name' => 'Administrators',
308307
],
309308
null,
310309
$administratorRoleData

0 commit comments

Comments
 (0)