api_test: Test compose with 2nd distribution
This commit is contained in:
parent
788daf91a4
commit
f731d7a606
2 changed files with 40 additions and 0 deletions
|
|
@ -291,5 +291,17 @@ func FixtureEmpty() *Store {
|
|||
|
||||
s.blueprints[bName] = b
|
||||
|
||||
// 2nd distro blueprint
|
||||
b2 := b
|
||||
b2.Name = "test-distro-2"
|
||||
b2.Distro = "test-distro-2"
|
||||
s.blueprints[b2.Name] = b2
|
||||
|
||||
// Unknown distro blueprint
|
||||
b3 := b
|
||||
b3.Name = "test-fedora-1"
|
||||
b3.Distro = "fedora-1"
|
||||
s.blueprints[b3.Name] = b3
|
||||
|
||||
return s
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue