Skip to content

Commit

Permalink
storage: fix software tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Jul 5, 2024
1 parent 6e65c02 commit 23f7ee5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions service/test/agama/software/manager_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@
expect(products).to all(be_a(Agama::Software::Product))
expect(products).to contain_exactly(
an_object_having_attributes(id: "Tumbleweed"),
an_object_having_attributes(id: "MicroOS")
an_object_having_attributes(id: "MicroOS"),
an_object_having_attributes(id: "Leap_16.0")
)
end
end
Expand Down Expand Up @@ -335,7 +336,7 @@
expect(proposal).to receive(:set_resolvables)
.with("agama", :pattern, [], { optional: true })
expect(proposal).to receive(:set_resolvables)
.with("agama", :package, ["NetworkManager", "openSUSE-repos"])
.with("agama", :package, ["NetworkManager", "openSUSE-repos-Tumbleweed"])
expect(proposal).to receive(:set_resolvables)
.with("agama", :package, [], { optional: true })
subject.propose
Expand Down

0 comments on commit 23f7ee5

Please sign in to comment.