|
|
@ -15,6 +15,19 @@ Feature: Show a backup plan with the CLI
|
|
|
|
| plans show one -i 8aa59e7e-dc75-459b-beb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be583 | success | show an existing plan |
|
|
|
|
| plans show one -i 8aa59e7e-dc75-459b-beb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be583 | success | show an existing plan |
|
|
|
|
| plans show one -i 8aa59e7e-dc75-459b-aeb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be512 | error | show a non-existing plan |
|
|
|
|
| plans show one -i 8aa59e7e-dc75-459b-aeb5-b710b39be583 | 8aa59e7e-dc75-459b-beb5-b710b39be512 | error | show a non-existing plan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@fixture.injector
|
|
|
|
|
|
|
|
@fixture.in_memory_database
|
|
|
|
|
|
|
|
@fixture.cli
|
|
|
|
|
|
|
|
Scenario Outline: Show non-existing backup plans with the CLI
|
|
|
|
|
|
|
|
Given the CLI arguments are "<arguments>"
|
|
|
|
|
|
|
|
When I run the CLI
|
|
|
|
|
|
|
|
Then the CLI executed with "<result>"
|
|
|
|
|
|
|
|
And the CLI contains the error: "<result_error>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
| arguments | result | result_error | description |
|
|
|
|
|
|
|
|
| plans show one -i 8aa59e7e-dc75-459b-aeb5-b710b39be583 | error | [ERROR] The backup plan was not found. | show a non-existing plan |
|
|
|
|
|
|
|
|
|
|
|
|
@fixture.injector
|
|
|
|
@fixture.injector
|
|
|
|
@fixture.in_memory_database
|
|
|
|
@fixture.in_memory_database
|
|
|
|
@fixture.cli
|
|
|
|
@fixture.cli
|
|
|
|