silverstripe-testsession/templates
Sam Minnee 78062a093c NEW: Add status code comment to testsession/start output.
testsession/start now includes a comment of the form <!-- SUCCESS: DBNAME=DatabaseName -->,
which can be used by behat and other consumers to validate that the tesession was actually
started.

It's included the database name in its output, which is a small piece of information
disclosure, but not a big deal compared to the generally dev-only nature of this module.

It requires a fix to Cookie::set(), to ensure that set cookies also apperar immediately
in $_COOKIE.  Otherwise the call to DB::get_alternative_database_name() after it is set
won't return a value.
2013-06-19 12:20:12 +02:00
..
Includes API Combined "setdb" into "start". Renamed "emptydb" to "clear". Added "set". 2012-12-19 15:45:52 +01:00
TestSession_end.ss API Combined "setdb" into "start". Renamed "emptydb" to "clear". Added "set". 2012-12-19 15:45:52 +01:00
TestSession_inprogress.ss API Combined "setdb" into "start". Renamed "emptydb" to "clear". Added "set". 2012-12-19 15:45:52 +01:00
TestSession_start.ss NEW: Add status code comment to testsession/start output. 2013-06-19 12:20:12 +02:00