Skip to content

Commit 459f4b2

Browse files
remove outdated (mysql) test database instructions (#12609)
1 parent 5e2f4ed commit 459f4b2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/content/en/open_source/contributing/how-to-write-a-parser.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,7 @@ This ensures the file is closed at the end of the with statement, even if an exc
280280

281281
### Test database
282282

283-
To test your unit tests locally, you first need to grant some rights. Get your MySQL root password from the docker compose logs, login as root and issue the following commands:
284-
285-
{{< highlight mysql >}}
286-
MYSQL> grant all privileges on test_defectdojo.* to defectdojo@'%';
287-
MYSQL> flush privileges;
288-
{{< /highlight >}}
283+
Django uses a separate test database for running unit tests called `test_defectdojo`. It's automatically created and initialized with a basic set of test data.
289284

290285
### Run your tests
291286

0 commit comments

Comments
 (0)