mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
18 lines
411 B
PHP
18 lines
411 B
PHP
<?php
|
|
/**
|
|
* Used to share arbitrary state between the browser session
|
|
* and other processes such as Behat CLI execution.
|
|
* Assumes that the temporary database is reset automatically
|
|
* on ending the test session.
|
|
*/
|
|
class TestSessionDatabaseState extends DataObject {
|
|
|
|
private static $db = array(
|
|
'Key' => 'Varchar(255)',
|
|
'Value' => 'Text',
|
|
);
|
|
|
|
private static $indexes = array(
|
|
'Key' => true
|
|
);
|
|
} |