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