tests: update base tests for weldr-client
weldr-client returns different json structures than the original composer-cli does. It is being replaced in RHEL-9 and these changes make it possible to run the tests with both old composer-cli and weldr-client.
This commit is contained in:
parent
ad41022f4a
commit
37b14facd3
2 changed files with 98 additions and 34 deletions
|
|
@ -55,6 +55,11 @@ type BlueprintsChangesV0 struct {
|
|||
Limit uint `json:"limit"`
|
||||
Offset uint `json:"offset"`
|
||||
}
|
||||
|
||||
// BlueprintsChangesV0Weldr is the response to /blueprints/changes/ request using weldr-client
|
||||
type BlueprintsChangesV0Weldr struct {
|
||||
Body BlueprintsChangesV0 `json:"body"`
|
||||
}
|
||||
type bpChange struct {
|
||||
Changes []blueprint.Change `json:"changes"`
|
||||
Name string `json:"name"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue