Skip to content
Snippets Groups Projects
Commit 7e05bb8a authored by Lars Johansson's avatar Lars Johansson
Browse files

Add test data

parent 87d3c499
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,21 @@ README
Folder contains backup of data for Naming database that may be useful for development and maintenance.
Content prepared by
- using NamesIT test class
- setting debug point in readSearchHistoryDeleted method
- integration test class - method
NamesIT readSearchHistoryDeleted
StructuresSubsystemIT readSearchStatusDeletedChildren
- setting debug point in methods at first statement in try clause
- debug
- when test is halted, use database management tool to backup data
Backup done with DBeaver tool
DBeaver 21.2.0
21.2.0 dump-discs_names_namesit.sql
23.3.1 dump-discs_names_subsystemit.sql
Restore to be done with psql
make sure database container is up and running
e.g.
psql --host=localhost --port=5432 --dbname=discs_names --username=discs_names < ......../naming-backend/src/test/resources/db/data/dump-discs_names_subsystemit.sql
DBeaver
https://dbeaver.io/
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment