|
23 | 23 | * Access a database.
|
24 | 24 | *
|
25 | 25 | * The most important function of this module is to clean a database before each test.
|
26 |
| - * This module also provides actions to perform checks in a database, e.g. [seeInDatabase()](http://codeception.com/docs/modules/Db#seeInDatabase) |
| 26 | + * This module also provides actions to perform checks in a database, e.g. [seeInDatabase()](https://codeception.com/docs/modules/Db#seeInDatabase) |
27 | 27 | *
|
28 | 28 | * In order to have your database populated with data you need a raw SQL dump.
|
29 | 29 | * Simply put the dump in the `tests/_data` directory (by default) and specify the path in the config.
|
|
55 | 55 | * * cleanup: false - whether the dump should be reloaded before each test
|
56 | 56 | * * reconnect: false - whether the module should reconnect to the database before each test
|
57 | 57 | * * waitlock: 0 - wait lock (in seconds) that the database session should use for DDL statements
|
58 |
| - * * ssl_key - path to the SSL key (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-key) |
59 |
| - * * ssl_cert - path to the SSL certificate (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-ssl-cert) |
60 |
| - * * ssl_ca - path to the SSL certificate authority (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-ssl-ca) |
61 |
| - * * ssl_verify_server_cert - disables certificate CN verification (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php) |
62 |
| - * * ssl_cipher - list of one or more permissible ciphers to use for SSL encryption (MySQL specific, @see http://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-cipher) |
| 58 | + * * ssl_key - path to the SSL key (MySQL specific, @see https://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-key) |
| 59 | + * * ssl_cert - path to the SSL certificate (MySQL specific, @see https://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-ssl-cert) |
| 60 | + * * ssl_ca - path to the SSL certificate authority (MySQL specific, @see https://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-ssl-ca) |
| 61 | + * * ssl_verify_server_cert - disables certificate CN verification (MySQL specific, @see https://php.net/manual/de/ref.pdo-mysql.php) |
| 62 | + * * ssl_cipher - list of one or more permissible ciphers to use for SSL encryption (MySQL specific, @see https://php.net/manual/de/ref.pdo-mysql.php#pdo.constants.mysql-attr-cipher) |
63 | 63 | * * databases - include more database configs and switch between them in tests.
|
64 | 64 | * * initial_queries - list of queries to be executed right after connection to the database has been initiated, i.e. creating the database if it does not exist or preparing the database collation
|
65 | 65 | * * skip_cleanup_if_failed - Do not perform the cleanup if the tests failed. If this is used, manual cleanup might be required when re-running
|
|
0 commit comments