Commit Graph

33 Commits

Author SHA1 Message Date
Hugo Sales 3288d48b8a
[TESTS] Fix broken tests and expand tests around Attachments 2021-08-20 11:34:07 +01:00
Diogo Peralta Cordeiro a7d4a56b14
[TESTS][Forms] Respect new naming conventions 2021-08-19 01:57:19 +01:00
Hugo Sales 96612fcd43
[TESTS][Attachment][AttachmentThumbnail][GSFile] Reorganize tests and raise test coverage to 100% 2021-08-18 17:35:10 +01:00
Hugo Sales f68a2ce481
[TESTS] Raise test coverage for GSFile to 100% 2021-08-16 17:11:28 +01:00
Hugo Sales ecbfba1b1a
[TESTS] Add test for JSON response and invalid accept format 2021-08-14 16:13:00 +01:00
Hugo Sales a4cb90ba12
[EVENTS] Change FormatNoteList do separate in and out arguments
This is necessary due to some weird problem which I wasn't able to figure out (but which doesn't matter)
that somehow causes the event to be called twice during testing, and thus the function was exploding
2021-08-14 16:12:58 +01:00
Hugo Sales cb0093bd4a
[TESTS] Fix Entity test in accordance with the changes to createOrUpdate 2021-08-14 16:12:58 +01:00
Hugo Sales 6479b698f8
[TESTS][Router] Add tests for Router and use named paramenters, as we can since PHP8 2021-08-03 19:22:16 +00:00
Hugo Sales e0ebef594f
[TESTS][DB] Update test to reflec fact that GSActor no longer has a normalized_nickname field 2021-08-03 19:15:30 +00:00
Hugo Sales 88ab76c480
[CORE][TemporaryFile] Add option to specify attempts and better handle when reaching the attemp limit without being able to create a file 2021-08-03 19:14:56 +00:00
Hugo Sales 1f9acaf4ef
[TESTS] Add tests for GSFile 2021-08-03 19:13:30 +00:00
Hugo Sales 6956e6907c
[TESTS] Raise test coverage for Form to 100% 2021-08-03 19:13:29 +00:00
Hugo Sales b2d72673c7
[TESTS][EVENTS] Raise test coverage for Event class to 100% 2021-08-03 19:13:28 +00:00
Hugo Sales b51d43e6e2
[TESTS][ENTITY] Raise test coverage for Entity class to 100% 2021-08-03 19:13:28 +00:00
Hugo Sales ae27d95509
[TESTS] Expand and fix cache tests 2021-08-03 19:13:27 +00:00
Hugo Sales f8107c86c5 [TESTS] Raise App\Core\DB\DB test coverage to 100% and fix issues found 2021-05-11 21:04:15 +00:00
Hugo Sales ce98e80836 [TESTS] Raise App\Core\DB\UpdateListener test coverage to 100% 2021-05-06 21:57:06 +00:00
Hugo Sales cc47cda3d1 [TESTS] Fix Nickname test 2021-04-23 15:38:26 +00:00
Hugo Sales 051720a686 [TESTS] Add tests to all relevant methods under App\Util and fix errors that popup 2021-04-14 15:37:24 +00:00
Hugo Sales 120011a2d0 [TESTS] Fix error when testing cold redis cache 2021-04-14 15:37:24 +00:00
Hugo Sales f11f9040b1 [TESTS] Add App\Core\Cache test 2021-04-14 15:37:24 +00:00
Hugo Sales ffaf5da984 [TESTS] Fix unkept unit tests 2021-04-14 15:37:23 +00:00
Hugo Sales 49fa11ba07 [TEST] Fix translation test 2021-04-14 15:37:23 +00:00
Hugo Sales 0ecb164e2e [TESTS][I18N] Added test for I18n::_m and I18nHelper::formatICU 2021-04-14 15:37:21 +00:00
Hugo Sales f01331671c [V3] Big Crunch
And so, just as it begins, so too must it end
One should not dwell and stall, for more is to come
2021-04-14 15:36:13 +00:00
Diogo Cordeiro e8dff6c4a0 [TESTS] Move AcceptHeader from ActivityPub plugin to Core
Delete temporary ActivityPub tests (they were to be deleted long ago)
2020-06-25 15:50:12 +01:00
Diogo Cordeiro 324b7f38a9 [FORMAT] Run php-cs-fixer on tests/ 2020-06-24 13:55:10 +01:00
Diogo Cordeiro aa7aff3f6b [TESTS] Fix CommandInterpreterTest
Also corrected a bad refactoring that affected Xmpp plugin test
2020-06-24 13:54:38 +01:00
Miguel Dantas b41f9620fa [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
Diogo Cordeiro 0c2c3ec862 [CORE] Plugin API now extends a new Module API 2019-08-24 01:59:33 +01:00
Diogo Cordeiro db3253e5d2 [CORE] Bump PHP requirement to PHP7.3+ 2019-08-03 17:49:36 +01:00
Diogo Cordeiro d9e7862cea [CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0 2019-08-03 17:47:27 +01:00
Diogo Cordeiro 9f30c299ee [CORE] Make tests great gain 2019-08-03 17:47:27 +01:00