Add the service's test for deleting.

This commit is contained in:
2025-01-25 21:45:35 +02:00
parent 5e606b0e83
commit a4a0f32f52
2 changed files with 36 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
Feature: Delete a backup plan
@fixture.injector
@fixture.in_memory_database
@fixture.seeds
Scenario Outline: Deleting a backup plan with the CLI
Given I have a backup plan with id="<existing_backup_plan_id>"
When I remove the backup plan with id="<backup_plan_id>"
Then the result should be "<result>"
Examples:
| backup_plan_id | existing_backup_plan_id | result | description |
| 8aa59e7e-dc75-459b-beb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be583 | success | delete an existing plan |
| 8aa59e7e-dc75-459b-aeb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be512 | error | delete a non-existing plan |