Hugo Sales
9109c61af5
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types
2021-10-27 04:19:28 +01:00
Diogo Peralta Cordeiro
941cbe6599
[Actor] Refactor GSActor into Actor
2021-09-18 05:12:17 +01:00
Hugo Sales
1f3a6fe6ac
[TESTS] Fix and/or temporarily disable failing tests. We'll get back to this
2021-09-14 13:36:30 +01:00
Hugo Sales
56e5d5c4a0
[TESTS] Fix broken tests and expand tests around Attachments
2021-09-14 13:13:36 +01:00
Diogo Peralta Cordeiro
aa8412f607
[TESTS][Forms] Respect new naming conventions
2021-09-14 13:13:35 +01:00
Hugo Sales
043e179c23
[TESTS][Attachment][AttachmentThumbnail][GSFile] Reorganize tests and raise test coverage to 100%
2021-09-14 13:13:33 +01:00
Hugo Sales
5237364a21
[TESTS] Raise test coverage for GSFile to 100%
2021-09-14 13:13:28 +01:00
Hugo Sales
c24c32334d
[TESTS] Add test for JSON response and invalid accept format
2021-09-14 13:13:24 +01:00
Hugo Sales
061a85d6b3
[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-09-14 13:13:23 +01:00
Hugo Sales
57f43108bb
[TESTS] Fix Entity test in accordance with the changes to createOrUpdate
2021-09-14 13:13:23 +01:00
Hugo Sales
41e4e2de0e
[TESTS][Router] Add tests for Router and use named paramenters, as we can since PHP8
2021-09-14 13:13:16 +01:00
Hugo Sales
1d40c5cdb3
[TESTS][DB] Update test to reflec fact that GSActor no longer has a normalized_nickname field
2021-09-14 13:13:15 +01:00
Hugo Sales
7a2574eafb
[CORE][TemporaryFile] Add option to specify attempts and better handle when reaching the attemp limit without being able to create a file
2021-09-14 13:13:15 +01:00
Hugo Sales
f5fb4ed3c3
[TESTS] Add tests for GSFile
2021-09-14 13:13:15 +01:00
Hugo Sales
2ee99e5176
[TESTS] Raise test coverage for Form to 100%
2021-09-14 13:13:14 +01:00
Hugo Sales
b111870853
[TESTS][EVENTS] Raise test coverage for Event class to 100%
2021-09-14 13:13:14 +01:00
Hugo Sales
871422e6b6
[TESTS][ENTITY] Raise test coverage for Entity class to 100%
2021-09-14 13:13:14 +01:00
Hugo Sales
9ce30751af
[TESTS] Expand and fix cache tests
2021-09-14 13:13:13 +01:00
Hugo Sales
6d93b6fb32
[TESTS] Raise App\Core\DB\DB test coverage to 100% and fix issues found
2021-09-14 13:13:01 +01:00
Hugo Sales
52edaa319b
[TESTS] Raise App\Core\DB\UpdateListener test coverage to 100%
2021-09-14 13:13:01 +01:00
Hugo Sales
ae0e410986
[TESTS] Fix Nickname test
2021-09-14 13:12:23 +01:00
Hugo Sales
8b5bd40421
[TESTS] Add tests to all relevant methods under App\Util and fix errors that popup
2021-09-14 13:10:23 +01:00
Hugo Sales
b387ea9aa0
[TESTS] Fix error when testing cold redis cache
2021-09-14 13:10:22 +01:00
Hugo Sales
c539f17ba5
[TESTS] Add App\Core\Cache test
2021-09-14 13:10:22 +01:00
Hugo Sales
1028f05cd8
[TESTS] Fix unkept unit tests
2021-09-14 13:10:21 +01:00
Hugo Sales
2d70f484f2
[TEST] Fix translation test
2021-09-14 13:10:21 +01:00
Hugo Sales
7a52c1d823
[TESTS][I18N] Added test for I18n::_m and I18nHelper::formatICU
2021-09-14 13:05:28 +01:00
Hugo Sales
11154a0d8c
[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-09-14 13:01:23 +01: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