Commit Graph

3926 Commits

Author SHA1 Message Date
7c58880139 Remove usage of deprecated Role class 2023-08-31 17:08:18 +02:00
2a9e461d6f Fix test: use fixed date instead of 'yesterday' 2023-08-31 11:18:38 +02:00
b85cd1b994 DX: apply rector rules for phpunit up to 90 2023-08-31 11:08:42 +02:00
e4e52234ad Rector: apply rules for doctrine code quality 2023-08-31 10:35:52 +02:00
37419e06fc Skip test for reviewing duplication detection on person creation 2023-08-30 20:29:30 +02:00
711cdc3481 mark empty test as skipped 2023-08-30 16:35:13 +02:00
149ed2bd75 Refactor test to create people without accompanying period on each iteration 2023-08-30 16:26:15 +02:00
2f1f724860 Remove commented code 2023-08-30 16:25:30 +02:00
1c0fd57913 Apply rector rules + fix CS 2023-08-30 14:55:26 +02:00
d01172274d Remove unused properties 2023-08-30 14:37:20 +02:00
876ebca210 Birthdate validator: remove unused comparison 2023-08-30 14:37:08 +02:00
364a67b83a Skip test which apply on different kernel configuration 2023-08-30 14:31:37 +02:00
df9f30265f Fix Birthdate validator DI and dedicated test 2023-08-30 14:14:36 +02:00
1b8acfab24 Fix person view test 2023-08-30 13:58:46 +02:00
690697cb35 Fix person update controller tests 2023-08-29 17:37:56 +02:00
5314e7b501 Fix tests on person's controller 2023-08-29 15:02:38 +02:00
52d791f6d0 Refactor PersonControllerUpdateTest: separate validation test on dedicated test 2023-08-29 14:48:32 +02:00
80684f65fe Fix button selecton on PersonControllerCreateTest 2023-08-28 17:59:13 +02:00
b1a9749dc0 Remove class test with any test methods 2023-08-28 16:43:49 +02:00
3f2339bc60 Find person in center using centerCurrent in RelationshipApiControllerTest 2023-08-28 16:09:22 +02:00
e2a739eeff Fix strong typing on some entities's methods: allow null values 2023-08-28 16:09:22 +02:00
847fd71364 Fix tests on PersonContextWithThirdParty: fix construction of PersonContextWithThirdPartyTest 2023-08-28 16:09:22 +02:00
2c83b4c912 Fix HouseholdACLAwareRepository: use the correct association to person's center 2023-08-28 16:09:21 +02:00
e2d62d5792 Fix loading of CalendarContext in CalendarContextTest. Needs to remove the final from PersonRepository 2023-08-28 16:09:21 +02:00
c33330969c FIX CS 2023-08-28 12:49:31 +02:00
410aa7098a Fix docgen / PersonContextTest: there should not be any scope shown when only one scope is added. 2023-08-25 22:34:24 +02:00
ad1e5ecc95 Fix data provider for person, using the association with person center current 2023-08-25 22:23:18 +02:00
256579af89 FIX Assign the correct id_seq for PersonMoveAccompanyingPeriodParticipationHandler 2023-08-03 11:41:36 +02:00
3af065e530 WIP [centerHistory] Try to get test to work for personCenterHistory 2023-08-03 11:40:47 +02:00
fd79692f6d FEATURE [relationships] Add personMoveRelationHandler and test for this 2023-08-03 11:39:09 +02:00
5136907d62 Fix deprecated lifecycleEvent to eventArgs in test 2023-08-02 23:25:20 +02:00
84dbfabd66 Fix double in test 2023-08-02 23:25:20 +02:00
0e0b0b8874 DX: fix cs 2023-08-02 23:25:19 +02:00
24cc6a816b Fix calls to templating service 2023-08-02 23:25:19 +02:00
f2d391ea2e cascading remove of Person\CenterHistory 2023-08-02 23:25:19 +02:00
dbccf7ff80 For integer for getting person_id in PersonController 2023-08-02 23:05:34 +02:00
009a0326d9 Configure routes using annotation 2023-08-02 23:05:33 +02:00
4b989fe25c fix tests for filter and aggregators: boot kernel instead of calling parent::setUp 2023-07-30 22:21:57 +02:00
333579de06 DX: use more precise service parameter and use dataprovider for test 2023-07-28 13:06:45 +02:00
7f96a895e1 DX: remove unused property on PersonController 2023-07-28 13:05:29 +02:00
e839b03cc9 Update path to twig template with new syntax 2023-07-28 12:16:50 +02:00
f570fe92a5 apply rector rules 2023-07-28 02:40:02 +02:00
c20f65eebb apply rector rules: symfony **UP TO** 44 2023-07-28 01:52:53 +02:00
0ed5544ad3 More useful error message when not enough people in database fixture 2023-07-28 01:22:58 +02:00
6f2b538e27 Use Person::centerHistory to load fixtures with given center 2023-07-28 01:22:55 +02:00
abc067adae More useful error message when not enough people in database fixture 2023-07-28 00:54:18 +02:00
ae04172929 Force type-hint and handle null value in ordering 2023-07-28 00:25:32 +02:00
dba1d0548e Use the new syntax for prepending the load of twig templates in some Chill*Extension class 2023-07-27 23:23:18 +02:00
7758d62f86 FIX remove var_dump 2023-07-27 10:47:42 +02:00
2921073da3 [centerHistory] add conditions to be sure at least one center history exists per person 2023-07-27 10:34:19 +02:00