mirror of https://github.com/MISP/MISP
fix: tests
parent
c0c3351365
commit
4c376ba44c
|
@ -16,3 +16,5 @@ GPG_PASSPHRASE=
|
|||
|
||||
UID=1000
|
||||
GID=1000
|
||||
|
||||
DEBUG=1
|
||||
|
|
|
@ -12,4 +12,6 @@ ADMIN_ORG=
|
|||
ADMIN_EMAIL=
|
||||
ADMIN_INITIAL_PASSWORD=
|
||||
ADMIN_USER_API_KEY=
|
||||
GPG_PASSPHRASE=
|
||||
GPG_PASSPHRASE=
|
||||
|
||||
DEBUG=0
|
|
@ -1,8 +1,8 @@
|
|||
# Testing
|
||||
1. Add a `cerebrate_test` database to the database:
|
||||
1. Add a `misp3_test` database to the database:
|
||||
```mysql
|
||||
CREATE DATABASE cerebrate_test;
|
||||
GRANT ALL PRIVILEGES ON cerebrate_test.* to cerebrate@localhost;
|
||||
CREATE DATABASE misp3_test;
|
||||
GRANT ALL PRIVILEGES ON misp3_test.* to misp@localhost;
|
||||
FLUSH PRIVILEGES;
|
||||
QUIT;
|
||||
```
|
||||
|
@ -19,9 +19,9 @@ QUIT;
|
|||
*/
|
||||
'test' => [
|
||||
'host' => 'localhost',
|
||||
'username' => 'cerebrate',
|
||||
'password' => 'cerebrate',
|
||||
'database' => 'cerebrate_test',
|
||||
'username' => 'misp',
|
||||
'password' => 'misp',
|
||||
'database' => 'misp3_test',
|
||||
],
|
||||
],
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue