2ed42e1a2c
Fix cs with php-cs-fier version 3.49
2024-02-08 21:12:27 +01:00
e902b6d409
Create a page which list events
2024-02-08 12:59:50 +01:00
cef218fed5
Add interface for pagination
2024-02-08 12:59:47 +01:00
a6e930958b
[export] create a parameter that will force to skip the filtering by center (ACL) when generating an export
2023-10-19 17:19:28 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
e3559774fd
Improve the signature definition
2023-10-03 21:25:22 +02:00
d3b68f8f8f
AuthorizationHelper: compare center and scope based on id, not on equality
...
For an unknown reason, in some circumstances, the use of the `===` comparator does not work when comparing Center instances and Scope instances. Then, we compare them based on the id.
2023-09-13 10:08:44 +02:00
40b7c8ad8f
fix rector and cs
2023-09-01 17:50:07 +02:00
0db1e3e0d7
Exclude db intensive test to spare db connection
2023-09-01 17:17:17 +02:00
a2a660c954
Try to avoid open db connections
2023-09-01 17:07:10 +02:00
2c52a5bffa
Fix tests
2023-09-01 16:10:04 +02:00
10a75f44e9
Ensure kernel shutdown after abstract export tests
2023-09-01 16:09:54 +02:00
37c1dfb0ba
fix tests implementing AbstractAggregatorTest
2023-09-01 15:07:37 +02:00
a197a6b418
fix tests implementing AbstractFilterTest
2023-09-01 14:21:03 +02:00
355ed03500
Fix kernel booting problem on Aggregator and Filter tests
2023-09-01 11:08:15 +02:00
b85cd1b994
DX: apply rector rules for phpunit up to 90
2023-08-31 11:08:42 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
0e94e769cb
Remove reference to deprecated Role class in tests
2023-07-28 01:16:53 +02:00
5f6e506300
Fix: AuthorizationHelperTest: remove deprecated and deprecation of PrepareScopeTrait
2023-07-27 23:51:57 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
b9a7530f7a
DX: apply rector rulesset up to PHP72
2023-03-29 22:32:52 +02:00
2f77deaa60
fix cs
2022-10-10 20:53:49 +02:00
5acf7a81d7
DX: deprecated ProphecyTrait in favour of the one coming from Prophecy\PhpUnit package.
2022-10-10 20:52:35 +02:00
629e4ab02d
Merge branch 'atelier_tests' into '111_exports_suite'
...
Add tests which check that an alias do not disappears in filters / aggregators
See merge request Chill-Projet/chill-bundles!455
2022-10-10 10:41:41 +00:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
b394d7247d
fix cs: too much line before declaring strict type
2022-10-06 08:55:32 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
a967e1ed17
fix cs
2022-10-05 15:23:28 +02:00
ccedebda90
Add new Abstract Filter Test to check qb aliases (for join clauses)
2022-09-29 20:48:56 +02:00
eb6efcefd8
Add new Abstract Aggregator Test to check qb aliases (for join clauses)
2022-09-29 20:48:56 +02:00
3c8dbe56fc
exports: create new aggregator tests + minor corrections in aggregators
2022-09-21 14:31:46 +02:00
27306015f4
exports: create new filter tests
2022-09-21 11:29:08 +02:00
211a80e9be
deprecate chill prophecy train in favor of prophecy-phpunit bridge
2022-09-17 08:23:28 +02:00
e3743d3593
tests new filters ReferrerFilter and OpenBetweenDatesFilter (wip.. test failed)
2022-08-04 09:07:45 +02:00
b9186ed6e0
tests: write a simple Export test for new indicators + fix depreciation with BrowserKit client
...
cfr: https://symfony.com/doc/4.4/components/browser_kit.html#creating-a-client
2022-07-27 18:39:58 +02:00
8bbca12487
fix ProphecyTrait in AbstractFilter to use it with each filter
2022-07-27 14:23:21 +02:00
3dabd031f4
fix tests failed in exports
2022-07-27 14:23:21 +02:00
864e1eeabb
replace more doctrine shortcuts by fqdn
2022-04-30 00:35:11 +02:00
a0392b9216
replace some entity shortcut by fqdn
...
* ChillPerson:Person
* ChillMain:Center
* ChillActivity:Activity
2022-04-30 00:20:18 +02:00
Pol Dellaiera
6ebcd87508
tests: Replace assertInternalType
with proper method.
...
See https://github.com/sebastianbergmann/phpunit/issues/3369
2022-01-04 16:21:06 +01:00
Pol Dellaiera
70ca203e23
fix: Fix return types in tests.
2021-12-21 15:19:36 +01:00
Pol Dellaiera
3d0be940f0
fix: Fix return types in tests.
2021-12-21 15:02:12 +01:00
Pol Dellaiera
8401ce2656
cs: Fix code-style (using PHPCSFixer and PHPCS).
2021-12-21 10:59:23 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers.
2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places.
2021-11-30 13:33:18 +01:00
Pol Dellaiera
a9188355c5
cs: Enable more risky rules.
2021-11-30 11:37:57 +01:00
Pol Dellaiera
c8195e6df5
cs: Enable more risky rules.
2021-11-30 11:28:52 +01:00
Pol Dellaiera
f531cdc0ec
cs: Enable a couple of risky rules.
2021-11-30 09:39:45 +01:00
Pol Dellaiera
3ea35682eb
cs: Second part - ignore test/app
subdirectory.
2021-11-23 14:34:34 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00