diff --git a/tests/30rooms/12thirdpartyinvite.pl b/tests/30rooms/12thirdpartyinvite.pl index cbaa0c4c0..2b68b672c 100644 --- a/tests/30rooms/12thirdpartyinvite.pl +++ b/tests/30rooms/12thirdpartyinvite.pl @@ -190,7 +190,7 @@ matrix_create_and_join_room( [ $creator, $inviter ], visibility => "private", - preset => "private_chat", + preset => "private_chat", # Allow default PL users to invite others with_invite => 1, )->then( sub { my ( $room_id ) = @_; diff --git a/tests/41end-to-end-keys/06-device-lists.pl b/tests/41end-to-end-keys/06-device-lists.pl index f2da9fb90..63f6648fb 100644 --- a/tests/41end-to-end-keys/06-device-lists.pl +++ b/tests/41end-to-end-keys/06-device-lists.pl @@ -689,8 +689,7 @@ sub sync_until_user_in_device_list matrix_create_room( $creator, invite => [ $remote_user->user_id ], - # Allow default PL users to invite others - preset => "private_chat", + preset => "private_chat", # Allow default PL users to invite others )->then( sub { ( $room_id ) = @_;