Commit Graph

180 Commits

Author SHA1 Message Date
Hugo Sales f760de43b0
[TESTS] Fixup Security controller tests to match new UI 2021-08-03 19:37:56 +00:00
Hugo Sales 960675b459
[TESTS] Raise test coverage for AdminPanel controller to 100% 2021-08-03 19:37:56 +00:00
Hugo Sales f9c1d14c7a
[TESTS] Raise test coverage for Attachment controller to 100% 2021-08-03 19:37:56 +00:00
Hugo Sales b2456d8cd2
[TESTS] Raise test coverage for Controller/Security to 100% 2021-08-03 19:23:02 +00: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 63d26d1295
[TESTS][Nickname] Update tests to reflect new usage. Normalization functionality will be moved to a plugin 2021-08-03 19:15:30 +00:00
Hugo Sales ed850a7763
[TESTS][TemporaryFile] Update test to reflect new usage 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 aa66263b92
[TESTS] Add missing tests for Common 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
Diogo Peralta Cordeiro 4d2131808a [FILE][TemporaryFile] Fix various issues now that we also have Symfony's file abstractions 2021-07-20 23:46:18 +01:00
Hugo Sales eecef99372 [TESTS] Raise test coverage for App\Controller\Network to 100% and fixup related code 2021-05-23 19:56:45 +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 75adf2e59f [TESTS] Change relevant tests to use GNUsocialTestCase, so they can access all the needed features 2021-05-06 21:56:28 +00:00
Hugo Sales b79c0595d5 [TESTS] Expand test coverage for App\Util\Forms\ArrayTransformer, App\Util\Notification and App\Twig\Runtime 2021-05-05 13:37:10 +00:00
Hugo Sales 5cc82785c6 [TESTS] Raise App\Util\TemporaryFile test coverage to 100% 2021-05-05 12:46:29 +00:00
Hugo Sales 059ed1fa76 [TESTS] Raise test coverage for NicknameTest to 100% 2021-05-05 12:46:17 +00:00
Hugo Sales f5fcfe628e [TESTS] Raise App\Util\HTML test coverage to 100% 2021-05-02 21:02:43 +00:00
Hugo Sales fde7b87c65 [TESTS] Raise App\Util\Bitmap test coverage to 100% 2021-05-02 20:47:15 +00:00
Hugo Sales f841e5e0dd [TESTS] Raise App\Util\Common test coverage to 100% 2021-05-02 20:42:25 +00:00
Hugo Sales 16055c7055 [TESTS] Add tests increasing coverage of App\Util\Formatting to 100% 2021-05-02 15:28:56 +00:00
Hugo Sales cc47cda3d1 [TESTS] Fix Nickname test 2021-04-23 15:38:26 +00:00
Hugo Sales 1bad2fa050 [TESTS] Fix wrong namespace in tests 2021-04-22 18:26:00 +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 aa58c3520c Duplicate src/Util/Exception/NicknameTooLongException.php history in src/Util/Exception/NicknameTooShortException.php history. 2021-04-14 15:37:24 +00:00
Hugo Sales cafd9a39a0 [TESTS] Add tests of Common and fix small oddities that pop up 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 c8b2ce6694 [TESTS] Add tests for the bitmap utility and fix implementation 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 99c4e8ded5 [TESTS] Fix deprecations 2021-04-14 15:37:23 +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
Daniel 7a925cd9a6 [Poll] Added modified param for Poll/Poll response, added PollTest 2021-04-14 15:37:23 +00:00
Daniel 0868880d45 [TESTS] Added unit tests 2021-04-14 15:37:23 +00:00
Angelo D. Moura 5ec7e2e092 [TWIG] Moves the SVG custom function to an extension and change the test regex 2021-04-14 15:37:23 +00:00
Angelo D. Moura b60185a97c [TWIG][TESTS] Update IconsExtension test 2021-04-14 15:37:23 +00:00
Angelo D. Moura cacd9a574d [TWIG] Add SVG icon embed function 2021-04-14 15:37:23 +00:00
Diogo Machado 5a7b895476 [DB][TESTS] Implement Doctrine event listener to update timestamps on modification, and related tests 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
Diogo Cordeiro 4efbf9361c [DOCUMENTATION][TOOL] Small bug fixes and docblock elaboration 2021-04-14 15:37:20 +00:00
Hugo Sales 6546c088d9 [DOCTRINE][SCHEMADEF] Create a new metadata driver to allow us to continue using static schemaDef functions
This has the benefit of requiring fewer code changes, as well as providing a better isolation
between GNU social and symfony, useful in case the framework needs to be changed
2021-04-14 15:36:35 +00:00
Hugo Sales 86b5bfe075 [V3] Big Bang
Beginning anew, this time with a modern framework: symfony
2021-04-14 15:36:35 +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
Alexei Sorokin 08145f635f Implement a class for automatic temporary file handling
And adopt it all over the code.
2020-09-04 13:15:23 +03:00