mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
Documented database import params in README
This commit is contained in:
parent
c5e9f33531
commit
afc0e7ea07
@ -58,7 +58,8 @@ on "dev/testsession/start":
|
|||||||
(see [fixture format docs](http://doc.silverstripe.org/en/developer_guides/testing/fixtures/)).
|
(see [fixture format docs](http://doc.silverstripe.org/en/developer_guides/testing/fixtures/)).
|
||||||
The path should be relative to the webroot.
|
The path should be relative to the webroot.
|
||||||
* `createDatabase`: Create a temporary database.
|
* `createDatabase`: Create a temporary database.
|
||||||
* `createDatabaseTemplate`: Path to a database dump to load into a newly created temporary database.
|
* `importDatabasePath`: Absolute path to a database dump to load into a newly created temporary database.
|
||||||
|
* `importDatabaseFile`: File name for a database dump to load, relative to `TestSessionController.database_templates_path`
|
||||||
* `requireDefaultRecords`: Include default records as defined on the model classes (in PHP)
|
* `requireDefaultRecords`: Include default records as defined on the model classes (in PHP)
|
||||||
* `database`: Set an alternative database name in the current
|
* `database`: Set an alternative database name in the current
|
||||||
browser session as a cookie. Does not actually create the database,
|
browser session as a cookie. Does not actually create the database,
|
||||||
|
Loading…
Reference in New Issue
Block a user