@@ -33,14 +33,14 @@ public function setUp(): void
3333 'username ' => 'normal2 ' ,
3434 'email ' => 'normal2@machine.local ' ,
3535 'is_email_confirmed ' => 1 ,
36- 'best_answer_count ' => 0
36+ 'best_answer_count ' => 0 ,
3737 ],
3838 [
3939 'id ' => 4 ,
4040 'username ' => 'moderator ' ,
4141 'email ' => 'moderator@machine.local ' ,
4242 'is_email_confirmed ' => 1 ,
43- 'best_answer_count ' => 0
43+ 'best_answer_count ' => 0 ,
4444 ],
4545 ],
4646 'tags ' => [
@@ -54,7 +54,7 @@ public function setUp(): void
5454 'parent_id ' => null ,
5555 'is_restricted ' => false ,
5656 'is_hidden ' => false ,
57- 'is_qna ' => true
57+ 'is_qna ' => true ,
5858 ],
5959 ],
6060 'discussions ' => [
@@ -67,47 +67,47 @@ public function setUp(): void
6767 'user_id ' => 2 ,
6868 'type ' => 'comment ' ,
6969 'content ' => 'post 1 - question ' ,
70- 'created_at ' => Carbon::now ()
70+ 'created_at ' => Carbon::now (),
7171 ],
7272 [
7373 'id ' => 2 ,
7474 'discussion_id ' => 1 ,
7575 'user_id ' => 1 ,
7676 'type ' => 'comment ' ,
7777 'content ' => 'post 2 - answer1 ' ,
78- 'created_at ' => Carbon::now ()
78+ 'created_at ' => Carbon::now (),
7979 ],
8080 [
8181 'id ' => 3 ,
8282 'discussion_id ' => 1 ,
8383 'user_id ' => 3 ,
8484 'type ' => 'comment ' ,
8585 'content ' => 'post 2 - answer2 ' ,
86- 'created_at ' => Carbon::now ()
86+ 'created_at ' => Carbon::now (),
8787 ],
8888 [
8989 'id ' => 4 ,
9090 'discussion_id ' => 1 ,
9191 'user_id ' => 2 ,
9292 'type ' => 'comment ' ,
9393 'content ' => 'post 4 - answer by owner ' ,
94- 'created_at ' => Carbon::now ()
94+ 'created_at ' => Carbon::now (),
9595 ],
9696 [
9797 'id ' => 5 ,
9898 'discussion_id ' => 1 ,
9999 'user_id ' => 3 ,
100100 'type ' => 'comment ' ,
101101 'content ' => 'post 5 - answer by normal2 ' ,
102- 'created_at ' => Carbon::now ()
102+ 'created_at ' => Carbon::now (),
103103 ],
104104 [
105105 'id ' => 6 ,
106106 'discussion_id ' => 1 ,
107107 'user_id ' => 4 ,
108108 'type ' => 'comment ' ,
109109 'content ' => 'post 6 - answer by moderator ' ,
110- 'created_at ' => Carbon::now ()
110+ 'created_at ' => Carbon::now (),
111111 ],
112112 ],
113113 'discussion_tag ' => [
@@ -117,7 +117,7 @@ public function setUp(): void
117117 [
118118 'group_id ' => 4 ,
119119 'permission ' => 'discussion.selectBestAnswerNotOwnDiscussion ' ,
120- 'created_at ' => Carbon::now ()
120+ 'created_at ' => Carbon::now (),
121121 ],
122122 ['group_id ' => 4 , 'permission ' => 'selectBestAnswerOwnPost ' , 'created_at ' => Carbon::now ()],
123123 ],
0 commit comments