|
35 | 35 | $filler = User::factory()->create();
|
36 | 36 |
|
37 | 37 | $fillerNotificationSettings = UserNotification::create([
|
38 |
| - 'user_id' => $requester->id, |
39 |
| - 'block_notifications' => 0, |
40 |
| - 'show_request_claim' => 1, |
| 38 | + 'user_id' => $requester->id, |
| 39 | + 'block_notifications' => 0, |
| 40 | + 'show_request_claim' => 1, |
41 | 41 | ]);
|
42 | 42 |
|
43 | 43 | $category = Category::factory()->create();
|
|
64 | 64 | 'approved_when' => null,
|
65 | 65 | ]);
|
66 | 66 |
|
67 |
| - $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]),[ |
| 67 | + $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]), [ |
68 | 68 | 'anon' => 0,
|
69 | 69 | ]);
|
70 | 70 |
|
|
87 | 87 | $filler = User::factory()->create([]);
|
88 | 88 |
|
89 | 89 | $fillerNotificationSettings = UserNotification::create([
|
90 |
| - 'user_id' => $requester->id, |
91 |
| - 'block_notifications' => 0, |
92 |
| - 'show_request_claim' => 1, |
93 |
| - 'json_request_groups' => [$randomGroup->id], |
| 90 | + 'user_id' => $requester->id, |
| 91 | + 'block_notifications' => 0, |
| 92 | + 'show_request_claim' => 1, |
| 93 | + 'json_request_groups' => [$randomGroup->id], |
94 | 94 | ]);
|
95 | 95 |
|
96 | 96 | $category = Category::factory()->create();
|
|
117 | 117 | 'approved_when' => null,
|
118 | 118 | ]);
|
119 | 119 |
|
120 |
| - $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]),[ |
| 120 | + $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]), [ |
121 | 121 | 'anon' => 0,
|
122 | 122 | ]);
|
123 | 123 |
|
|
138 | 138 | $filler = User::factory()->create([]);
|
139 | 139 |
|
140 | 140 | $fillerNotificationSettings = UserNotification::create([
|
141 |
| - 'user_id' => $requester->id, |
142 |
| - 'block_notifications' => 1, |
143 |
| - 'show_request_claim' => 1, |
| 141 | + 'user_id' => $requester->id, |
| 142 | + 'block_notifications' => 1, |
| 143 | + 'show_request_claim' => 1, |
144 | 144 | ]);
|
145 | 145 |
|
146 | 146 | $category = Category::factory()->create();
|
|
167 | 167 | 'approved_when' => null,
|
168 | 168 | ]);
|
169 | 169 |
|
170 |
| - $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]),[ |
| 170 | + $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]), [ |
171 | 171 | 'anon' => 0,
|
172 | 172 | ]);
|
173 | 173 |
|
|
184 | 184 | $filler = User::factory()->create([]);
|
185 | 185 |
|
186 | 186 | $fillerNotificationSettings = UserNotification::create([
|
187 |
| - 'user_id' => $requester->id, |
188 |
| - 'block_notifications' => 0, |
189 |
| - 'show_request_claim' => 0, |
| 187 | + 'user_id' => $requester->id, |
| 188 | + 'block_notifications' => 0, |
| 189 | + 'show_request_claim' => 0, |
190 | 190 | ]);
|
191 | 191 |
|
192 | 192 | $category = Category::factory()->create();
|
|
213 | 213 | 'approved_when' => null,
|
214 | 214 | ]);
|
215 | 215 |
|
216 |
| - $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]),[ |
| 216 | + $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]), [ |
217 | 217 | 'anon' => 0,
|
218 | 218 | ]);
|
219 | 219 |
|
|
234 | 234 | ]);
|
235 | 235 |
|
236 | 236 | $fillerNotificationSettings = UserNotification::create([
|
237 |
| - 'user_id' => $requester->id, |
238 |
| - 'block_notifications' => 0, |
239 |
| - 'show_request_claim' => 0, |
240 |
| - 'json_request_groups' => [$group->id], |
| 237 | + 'user_id' => $requester->id, |
| 238 | + 'block_notifications' => 0, |
| 239 | + 'show_request_claim' => 0, |
| 240 | + 'json_request_groups' => [$group->id], |
241 | 241 | ]);
|
242 | 242 |
|
243 | 243 | $category = Category::factory()->create();
|
|
264 | 264 | 'approved_when' => null,
|
265 | 265 | ]);
|
266 | 266 |
|
267 |
| - $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]),[ |
| 267 | + $response = $this->actingAs($filler)->post(route('requests.claims.store', [$torrentRequest]), [ |
268 | 268 | 'anon' => 0,
|
269 | 269 | ]);
|
270 | 270 |
|
|
0 commit comments