Commit Graph

23 Commits

Author SHA1 Message Date
Steve Boyd fe5e87598f FIX Handle invalid json data 2023-01-24 14:38:01 +13:00
Steve Boyd 132c00f122 API Stop using deprecated API 2022-11-03 18:11:29 +13:00
Guy Sartorelli 0f5cb30743
Merge pull request #73 from creative-commoners/pulls/2/php81
ENH PHP 8.1 compatibility
2022-04-22 16:16:50 +12:00
Steve Boyd 5e2ef7e52c ENH PHP 8.1 compatibility 2022-04-13 17:40:59 +12:00
Guy Sartorelli 44e5364ec2 FIX Add missing config to fix silverstipe/admin tests. 2022-04-13 17:11:57 +12:00
Bernard Hamlin 075d960e5d Connect to test database on session load 2019-03-13 09:17:12 +13:00
UndefinedOffset e957d1e0fd BUGFIX: Fixed issue where the incorrect database connection could be made when using a stubfile (fixes #60) 2019-01-24 15:22:29 -04:00
Serge Latyntcev f54baefb5a Rename TestSessionState::microtime to millitime 2019-01-10 15:30:39 +13:00
Serge Latyntcev 32c8e6a3b1 Fix TestSessionState and TestSessionEnvironment
Fixing a bug that makes it only wait for pending requests, but
not for some time after the last response
2019-01-10 11:48:59 +13:00
Serge Latyntcev 0c078e5027 TestSessionState implementation refinement;
Move increment/decrement methods to TestSessionState class,
fix some documentation, fix some code style and readability issues
2019-01-08 16:47:37 +13:00
Serge Latyntcev 78dd43ed96 ADD / TestSessionState initial implementation
TestSessionState model initial implementation
TestSessionEnvironment to initialize the state for every scenario and provide API for the clients to use it
TestSessionHTTPMiddleware to keep the state fields up to date
2018-12-19 14:28:38 +13:00
Damian Mooyman 2e25beb703
BUG Prevent assets folder being destroyed on behat tests
ENHANCEMENT Shift into vendormodule
2018-03-07 14:34:56 +13:00
Christopher Joe a523d66402 Fix update getenv call 2017-10-27 14:37:12 +13:00
Damian Mooyman 0374e935e7
Upgrade code with upgrader 2017-07-03 15:09:05 +12:00
Damian Mooyman 3e08c1aad0 API Replace request filter with middleware 2017-06-27 13:00:41 +12:00
Christopher Joe a5d1545347 Fix converted to getenv() 2017-06-27 12:22:58 +12:00
Damian Mooyman 2868e6bd3e Update references to deprecated global 2017-06-22 15:15:17 +12:00
Damian Mooyman f5ef9f4fbf API Use new TempDatabase service 2017-06-21 21:04:10 +12:00
Damian Mooyman 1651d5695a
Update testsession for SapphireTest changes 2017-06-13 15:00:32 +12:00
Damian Mooyman 9ec863f917
Fix session accessors 2017-06-12 14:59:20 +12:00
Damian Mooyman 1ab843776d
App object refactor 2017-06-08 18:01:46 +12:00
Daniel Hensby be78e58ff6 FIX Be less opinionated about test DB name 2017-05-13 10:23:45 +12:00
Damian Mooyman beda9e158f API Namespace and update for ss 4.0 2017-04-26 15:59:54 +12:00