6aa4681cb9
Delete files which were referenced by events objects
...
Adjust existing code base to not use hardcoded file path.
Instead use info from database and check all files which have references
to event objects.
Also add test to cover feature.
2021-12-16 14:07:32 +01:00
f06f9c3303
Use empty image for tests
...
We do not need content, so no need for an actual image which uses space
and might have some license.
2021-12-16 13:20:43 +01:00
410f5ab534
Fix naming of test
2021-12-16 13:20:16 +01:00
fb2eceb5e6
Refactor tests to move common code into parent class
...
This keeps tests smaller and everyone can see the setup of the test and
assertions, without boilerplate code in between.
2021-12-16 10:12:26 +01:00
15dec49445
Remove usage of uploads folder, use transient API instead
...
Relates: #9533
2021-12-16 10:00:51 +01:00
0e5cd38176
Add first basic functional test for import
...
The test ensures import runs with a small example set of events.
We needed to alter fetching of images, in order to properly mock
responses.
2021-12-16 09:08:16 +01:00
cbe4eda380
Add CI
...
* Add first basic CI with defaults.
* Add ecs for coding guideline.
* Fix invalid xliff files.
2021-09-07 09:26:59 +02:00
cb50981a2b
Setup unit testing
...
* Add dependency.
* Remove empty tearDown() methods.
* Fix signature of setUp() to be compatible with recent phpunit.
* Temporary fix syntax issues in test files
Relates: #8092
2021-09-07 07:52:16 +02:00
59272afffd
Add php code sniffer to follow PSR-12
...
Also apply ./vendor/bin/phpcbf to auto migrate what is possible.
Relates: #8092
2021-09-07 07:51:36 +02:00
Dirk
9c6539eb28
Refactored EXT dd_events to events, added fields to page type poi
2019-07-18 13:44:19 +02:00