Add the tests for the read query.

This commit is contained in:
2025-01-26 15:36:50 +02:00
parent 476a0ef8cf
commit b999975695
4 changed files with 42 additions and 33 deletions
-18
View File
@@ -15,21 +15,3 @@ Feature: Creating a backup plan
| usb | /mnt/usb | [] |
| db | /db | ["/backup/db"] |
| temp | /tmp | ["/backup/tmp1", "/backup/tmp2"] |
@fixture.injector
@fixture.in_memory_database
@fixture.backup_plan_service
Scenario Outline: Create an new unique backup plan
Given the label "<label>"
And the path "<source_path>"
And the destinations <destinations>
When I create the backup plan
When I delete the backup plan
Then it should be deleted successfully
Examples:
| label | source_path | destinations |
| usb | /mnt/usb | [] |
| db | /db | ["/backup/db"] |
| temp | /tmp | ["/backup/tmp1", "/backup/tmp2"] |