From 1184e93aacafb230d83f443d83637f5fb022d2ec Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 29 Jan 2024 12:12:31 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/integration/api/ForumSerializerTest.php | 21 +++++++++++++------ tests/integration/setup.php | 8 ++++--- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/tests/integration/api/ForumSerializerTest.php b/tests/integration/api/ForumSerializerTest.php index 73155929..2490a969 100644 --- a/tests/integration/api/ForumSerializerTest.php +++ b/tests/integration/api/ForumSerializerTest.php @@ -1,5 +1,14 @@ prepareDatabase([ 'users' => [ $this->normalUser(), - ['id' => 3, 'username' => 'pollsuser', 'email' => 'polls@machine.local', 'password' => 'too-obscure', 'is_email_confirmed' => 1] + ['id' => 3, 'username' => 'pollsuser', 'email' => 'polls@machine.local', 'password' => 'too-obscure', 'is_email_confirmed' => 1], ], 'group_user' => [ - ['user_id' => 3, 'group_id' => 4] + ['user_id' => 3, 'group_id' => 4], ], 'group_permission' => [ - ['permission' => 'discussion.polls.start', 'group_id' => 4] + ['permission' => 'discussion.polls.start', 'group_id' => 4], ], ]); } @@ -52,7 +61,7 @@ public function normal_user_does_not_have_discussion_polls_start_permission() { $response = $this->send( $this->request('GET', '/api', [ - 'authenticatedAs' => 2 + 'authenticatedAs' => 2, ]) ); @@ -70,7 +79,7 @@ public function user_with_discussion_polls_start_permission_has_discussion_polls { $response = $this->send( $this->request('GET', '/api', [ - 'authenticatedAs' => 3 + 'authenticatedAs' => 3, ]) ); diff --git a/tests/integration/setup.php b/tests/integration/setup.php index 67039c08..d0d1c31d 100644 --- a/tests/integration/setup.php +++ b/tests/integration/setup.php @@ -1,10 +1,12 @@