Skip to content

Commit fe6ad7c

Browse files
committed
fix: UserItem unit test
1 parent 04411b0 commit fe6ad7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/Panel/Ui/Item/UserItemTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public function testProps(): void
3030
$item = new UserItem(user: $this->model);
3131

3232
$expected = [
33-
'id' => 'test',
3433
'image' => [
3534
'back' => 'black',
3635
'color' => 'gray-500',
@@ -39,6 +38,9 @@ public function testProps(): void
3938
'ratio' => '1/1'
4039
],
4140
'info' => 'Nobody',
41+
'layout' => 'list',
42+
'text' => '[email protected]',
43+
'id' => 'test',
4244
'link' => '/users/test',
4345
'permissions' => [
4446
'create' => false,
@@ -50,7 +52,6 @@ public function testProps(): void
5052
'delete' => false,
5153
'update' => false,
5254
],
53-
'text' => '[email protected]',
5455
'uuid' => 'user://test',
5556
];
5657

0 commit comments

Comments
 (0)