Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Feb 12, 2025
1 parent 39d1551 commit 0102fd5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/y2network/presenters/interface_summary_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@
let(:interfaces) do
Y2Network::InterfacesCollection.new(
[
double(Y2Network::Interface, hardware: nil, name: "vlan1", firmware_configured?: false),
double(Y2Network::Interface, hardware: nil, name: "vlan1", firmware_configured?: false,
renaming_mechanism: :none),
double(Y2Network::Interface, hardware: double.as_null_object, name: "eth1",
firmware_configured?: false),
firmware_configured?: false, renaming_mechanism: :mac),
double(Y2Network::Interface, hardware: double.as_null_object, name: "eth0",
firmware_configured?: false)
firmware_configured?: false, renaming_mechanism: :bus_id),
]
)
end
Expand Down

0 comments on commit 0102fd5

Please sign in to comment.