fix: tests

pull/8998/head
Luciano Righetti 2023-05-02 17:16:58 +02:00
parent c0c3351365
commit 4c376ba44c
4 changed files with 11 additions and 7 deletions

0
bin/cake Normal file → Executable file
View File

View File

@ -16,3 +16,5 @@ GPG_PASSPHRASE=
UID=1000
GID=1000
DEBUG=1

View File

@ -12,4 +12,6 @@ ADMIN_ORG=
ADMIN_EMAIL=
ADMIN_INITIAL_PASSWORD=
ADMIN_USER_API_KEY=
GPG_PASSPHRASE=
GPG_PASSPHRASE=
DEBUG=0

View File

@ -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',
],
],
```