File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -21,5 +21,9 @@ scripts/auto-prepend/.logs
2121scripts /auto-prepend /.cache
2222scripts /** /* .log
2323
24+ # Public scripts
25+ scripts /public /cache-actions.php
26+ scripts /public /geolocation-test.php
27+
2428# MaxMind databases
2529* .mmdb
Original file line number Diff line number Diff line change @@ -253,6 +253,14 @@ https://phpXX.ddev.site/my-own-modules/crowdsec-php-lib/scripts/public/protected
253253
254254In auto-prepend mode, you can run some end-to-end tests.
255255
256+ Before running the tests, you have to copy some testing scripts:
257+
258+ ```
259+ cd php-project-sources
260+ cp .ddev/custom_files/crowdsec/cache-actions.php my-own-modules/crowdsec-php-lib/scripts/public/cache-actions.php
261+ cp .ddev/custom_files/crowdsec/geolocation-test.php my-own-modules/crowdsec-php-lib/scripts/public/geolocation-test.php
262+ ```
263+
256264We are using a Jest/Playwright Node.js stack to launch a suite of end-to-end tests.
257265
258266Tests code is in the ` tests/end-to-end ` folder. You should have to ` chmod +x ` the scripts you will find in
You can’t perform that action at this time.
0 commit comments