weldr: bump blueprint version

According to the same rules as lorax-compposer:

  https://weldr.io/lorax/lorax-composer.html#blueprints
This commit is contained in:
Lars Karlitski 2019-12-04 01:16:10 +01:00
parent b6307cafd5
commit 94bfcc518c
3 changed files with 55 additions and 1 deletions

View file

@ -184,7 +184,7 @@ func TestBlueprintsFreeze(t *testing.T) {
ExpectedStatus int
ExpectedJSON string
}{
{rpmmd_mock.BaseFixture, "/api/v0/blueprints/freeze/test", http.StatusOK, `{"blueprints":[{"blueprint":{"name":"test","description":"Test","version":"0.0.0","packages":[{"name":"dep-package1","version":"1.33-2.fc30.x86_64"}],"modules":[],"groups":[]}}],"errors":[]}`},
{rpmmd_mock.BaseFixture, "/api/v0/blueprints/freeze/test", http.StatusOK, `{"blueprints":[{"blueprint":{"name":"test","description":"Test","version":"0.0.1","packages":[{"name":"dep-package1","version":"1.33-2.fc30.x86_64"}],"modules":[],"groups":[]}}],"errors":[]}`},
}
for _, c := range cases {