Commit Graph

16 Commits

Author SHA1 Message Date
Will Rossiter
3e3907d14c
fix: public health/check should not include full details 2022-07-05 09:15:03 +12:00
Steve Boyd
47b184df5d MNT Fix unit test 2021-11-09 11:35:24 +13:00
Steve Boyd
05dd7bc0a7 API phpunit 9 support 2021-10-27 18:06:29 +13:00
Frank Mullenger
da9eddc0e1
Merge branch 'master' into feature/extra-checks 2019-03-20 10:23:03 +13:00
Frank Mullenger
8f7f8570f2 NEW: Refactor to provide unit tests for cache headers check. 2019-03-20 10:21:00 +13:00
Frank Mullenger
578c73e6ce NEW: Refactor to provide unit tests for session check. 2019-03-20 09:38:58 +13:00
Frank Mullenger
ace6c51aae FIX: Missed a reference to project code. 2019-03-11 13:03:48 +13:00
Frank Mullenger
540710ab0f NEW: Adding unit test. 2019-03-11 12:44:24 +13:00
Robbie Averill
2131840da4 NEW Remove Phockito test dependency, update config API use 2017-08-25 15:19:45 +12:00
Sam Minnee
5897559cd2 FIX: Simpler matrix, polish test. 2017-05-04 18:00:25 +12:00
Robbie Averill
b9af2d0734 FIX Update config API, Logger alias, dotenv config, remove PHP 5.5, other fixes
Remove PHP 5.5 from Travis configuration. Dotenv used for environment management now,
examples and tests updated to use putenv instead of define. Logger alias update to
LoggerInterface. Update mutable config API calls. Replace array declaration with
short version: []. Update license year.
2017-05-04 16:11:25 +12:00
Robbie Averill
254ed4801f SilverStripe 4.x compatibility (#38)
* Update composer constraint for 4.x compat

* 4.x compatibility: Rename "code" to "src" and add PSR-4 autoloading

* Restructure code and tests for PSR-4

* Implement namespaces

* Implement namespaced throughout

* PSR-2 formatting updates, separate Result from CheckSuite, implement PSR-3 logging, fix tests

* FIX Routes and template location

* Update readme. Allow check classes to be namespaced or not.

* Add entry to changelog

* FIX Ensure DatabaseCheckTest always has a member. Allow strings or objects for $check in the suite

* Update readme to be clearer about passing checks with or without namespaces

* Revert namespace checking and implement Injector aliases instead. Update readme.
2017-01-05 11:16:12 +13:00
Damian Mooyman
3135c1eec7
BUG ensure tests have database enabled 2016-07-12 14:08:44 +12:00
helpfulrobot
5f1f1fcd53 Converted to PSR-2 2015-11-21 19:18:35 +13:00
Ingo Schommer
81c7f2ba27 Optionally log check failures
Gives more granular control over monitoring failures
2015-11-20 12:06:26 +13:00
Christopher Pitt
53aafd97ba Made supported 2015-09-14 09:12:12 +12:00