Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests in files_versions #28132

Merged
merged 1 commit into from
Jul 24, 2021
Merged

Fix tests in files_versions #28132

merged 1 commit into from
Jul 24, 2021

Conversation

CarlSchwan
Copy link
Member

No description provided.

@skjnldsv skjnldsv requested a review from a team July 23, 2021 12:37
@skjnldsv
Copy link
Member

skjnldsv commented Jul 23, 2021

There were 37 errors:
147 |  
148 | 1) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #0 ('disabled', 8640000, 7776000, false, false)
149 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
150 |  
151 | /drone/src/apps/files_versions/lib/Expiration.php:54
152 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
153 |  
154 | 2) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #1 ('disabled', 8640000, 7776000, true, false)
155 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
156 |  
157 | /drone/src/apps/files_versions/lib/Expiration.php:54
158 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
159 |  
160 | 3) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #2 ('disabled', 8640000, 17280000, true, false)
161 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
162 |  
163 | /drone/src/apps/files_versions/lib/Expiration.php:54
164 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
165 |  
166 | 4) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #3 ('auto', 8640000, 7776000, false, false)
167 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
168 |  
169 | /drone/src/apps/files_versions/lib/Expiration.php:54
170 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
171 |  
172 | 5) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #4 ('auto', 8640000, 5616000, false, false)
173 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
174 |  
175 | /drone/src/apps/files_versions/lib/Expiration.php:54
176 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
177 |  
178 | 6) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #5 ('auto', 8640000, 7776000, true, true)
179 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
180 |  
181 | /drone/src/apps/files_versions/lib/Expiration.php:54
182 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
183 |  
184 | 7) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #6 ('auto', 8640000, 5616000, true, true)
185 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
186 |  
187 | /drone/src/apps/files_versions/lib/Expiration.php:54
188 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
189 |  
190 | 8) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #7 ('auto', 8640000, 17280000, true, true)
191 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
192 |  
193 | /drone/src/apps/files_versions/lib/Expiration.php:54
194 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
195 |  
196 | 9) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #8 ('auto, auto', 8640000, 7776000, false, false)
197 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
198 |  
199 | /drone/src/apps/files_versions/lib/Expiration.php:54
200 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
201 |  
202 | 10) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #9 ('auto, auto', 8640000, 5616000, false, false)
203 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
204 |  
205 | /drone/src/apps/files_versions/lib/Expiration.php:54
206 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
207 |  
208 | 11) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #10 ('auto, auto', 8640000, 7776000, true, true)
209 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
210 |  
211 | /drone/src/apps/files_versions/lib/Expiration.php:54
212 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
213 |  
214 | 12) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #11 ('auto, auto', 8640000, 5616000, true, true)
215 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
216 |  
217 | /drone/src/apps/files_versions/lib/Expiration.php:54
218 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
219 |  
220 | 13) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #12 ('15, auto', 8640000, 7776000, false, false)
221 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
222 |  
223 | /drone/src/apps/files_versions/lib/Expiration.php:54
224 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
225 |  
226 | 14) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #13 ('15, auto', 8640000, 6912000, false, false)
227 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
228 |  
229 | /drone/src/apps/files_versions/lib/Expiration.php:54
230 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
231 |  
232 | 15) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #14 ('15, auto', 8640000, 7776000, true, true)
233 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
234 |  
235 | /drone/src/apps/files_versions/lib/Expiration.php:54
236 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
237 |  
238 | 16) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #15 ('15, auto', 8640000, 6912000, true, true)
239 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
240 |  
241 | /drone/src/apps/files_versions/lib/Expiration.php:54
242 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
243 |  
244 | 17) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #16 ('15, auto', 8640000, 17280000, true, true)
245 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
246 |  
247 | /drone/src/apps/files_versions/lib/Expiration.php:54
248 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
249 |  
250 | 18) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #17 ('auto, 15', 8640000, 7776000, false, false)
251 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
252 |  
253 | /drone/src/apps/files_versions/lib/Expiration.php:54
254 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
255 |  
256 | 19) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #18 ('auto, 15', 8640000, 6912000, false, true)
257 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
258 |  
259 | /drone/src/apps/files_versions/lib/Expiration.php:54
260 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
261 |  
262 | 20) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #19 ('auto, 15', 8640000, 7776000, true, true)
263 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
264 |  
265 | /drone/src/apps/files_versions/lib/Expiration.php:54
266 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
267 |  
268 | 21) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #20 ('auto, 15', 8640000, 6912000, true, true)
269 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
270 |  
271 | /drone/src/apps/files_versions/lib/Expiration.php:54
272 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
273 |  
274 | 22) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #21 ('auto, 15', 8640000, 17280000, true, true)
275 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
276 |  
277 | /drone/src/apps/files_versions/lib/Expiration.php:54
278 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
279 |  
280 | 23) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #22 ('15, 25', 8640000, 7776000, false, false)
281 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
282 |  
283 | /drone/src/apps/files_versions/lib/Expiration.php:54
284 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
285 |  
286 | 24) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #23 ('15, 25', 8640000, 6912000, false, false)
287 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
288 |  
289 | /drone/src/apps/files_versions/lib/Expiration.php:54
290 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
291 |  
292 | 25) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #24 ('15, 25', 8640000, 6048000, false, true)
293 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
294 |  
295 | /drone/src/apps/files_versions/lib/Expiration.php:54
296 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
297 |  
298 | 26) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #25 ('15, 25', 8640000, 7776000, false, false)
299 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
300 |  
301 | /drone/src/apps/files_versions/lib/Expiration.php:54
302 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
303 |  
304 | 27) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #26 ('15, 25', 8640000, 6912000, true, true)
305 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
306 |  
307 | /drone/src/apps/files_versions/lib/Expiration.php:54
308 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
309 |  
310 | 28) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #27 ('15, 25', 8640000, 6048000, true, true)
311 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
312 |  
313 | /drone/src/apps/files_versions/lib/Expiration.php:54
314 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
315 |  
316 | 29) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #28 ('15, 25', 8640000, 17280000, true, false)
317 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
318 |  
319 | /drone/src/apps/files_versions/lib/Expiration.php:54
320 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
321 |  
322 | 30) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #29 ('25, 15', 8640000, 7776000, false, false)
323 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
324 |  
325 | /drone/src/apps/files_versions/lib/Expiration.php:54
326 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
327 |  
328 | 31) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #30 ('25, 15', 8640000, 6912000, false, false)
329 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
330 |  
331 | /drone/src/apps/files_versions/lib/Expiration.php:54
332 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
333 |  
334 | 32) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #31 ('25, 15', 8640000, 6048000, false, true)
335 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
336 |  
337 | /drone/src/apps/files_versions/lib/Expiration.php:54
338 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
339 |  
340 | 33) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #32 ('25, 15', 8640000, 7776000, false, false)
341 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
342 |  
343 | /drone/src/apps/files_versions/lib/Expiration.php:54
344 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
345 |  
346 | 34) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #33 ('25, 15', 8640000, 6912000, true, false)
347 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
348 |  
349 | /drone/src/apps/files_versions/lib/Expiration.php:54
350 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
351 |  
352 | 35) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #34 ('25, 15', 8640000, 6048000, true, true)
353 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
354 |  
355 | /drone/src/apps/files_versions/lib/Expiration.php:54
356 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
357 |  
358 | 36) OCA\Files_Versions\Tests\ExpirationTest::testExpiration with data set #35 ('25, 15', 8640000, 17280000, true, false)
359 | ArgumentCountError: Too few arguments to function OCA\Files_Versions\Expiration::__construct(), 2 passed in /drone/src/apps/files_versions/tests/ExpirationTest.php on line 113 and exactly 3 expected
360 |  
361 | /drone/src/apps/files_versions/lib/Expiration.php:54
362 | /drone/src/apps/files_versions/tests/ExpirationTest.php:113
363 |  
364 | 37) OCA\Files_Versions\Tests\Controller\PreviewControllerTest::testVersionNotFound
365 | Error: Call to a member function method() on null
366 |  
367 | /drone/src/apps/files_versions/tests/Controller/PreviewControllerTest.php:171
368

@CarlSchwan CarlSchwan force-pushed the work/carl/fix-tests branch 2 times, most recently from 182f002 to 5e90906 Compare July 23, 2021 14:34
Signed-off-by: Carl Schwan <[email protected]>
@skjnldsv skjnldsv merged commit ece2281 into master Jul 24, 2021
@skjnldsv skjnldsv deleted the work/carl/fix-tests branch July 24, 2021 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants