Skip to content

Commit dd66bac

Browse files
committed
Fix tests
1 parent 7455a1a commit dd66bac

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/Unit/Identity/Request/UpdateAdministratorRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function testGetDtoReturnsCorrectDto(): void
1717
$request->loginName = 'testuser';
1818
$request->password = 'password123';
1919
$request->email = 'test@example.com';
20-
$request->superAdmin = true;
20+
$request->superUser = true;
2121
$request->privileges = [
2222
'subscribers' => true,
2323
'campaigns' => false,

tests/Unit/Identity/Serializer/AdminAttributeDefinitionNormalizerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public function testNormalizeReturnsExpectedArray(): void
3232
'list_order' => 5,
3333
'default_value' => 'default',
3434
'required' => true,
35-
'table_name' => 'test_table',
3635
], $data);
3736
}
3837

tests/Unit/Identity/Serializer/AdministratorNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testNormalizeValidAdministrator(): void
3636
'id' => 123,
3737
'login_name' => 'admin',
3838
'email' => 'admin@example.com',
39-
'super_admin' => true,
39+
'super_user' => true,
4040
'privileges' => [
4141
'subscribers' => true,
4242
'campaigns' => false,

0 commit comments

Comments
 (0)