Skip to content

Commit

Permalink
Additional fixes for the SP3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Sep 13, 2023
1 parent 254f29d commit 97207bd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/sle15_addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
:recommended: false
:extensions: []
modifiable: true
- &10 !ruby/object:SUSE::Connect::Remote::Product
- &10 !ruby/object:OpenStruct
table:
:id: 15831
:name: SUSE Linux Enterprise Workstation Extension
Expand Down
30 changes: 15 additions & 15 deletions test/registration/storage/config_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,34 +158,34 @@
end

let(:sles_activation) do
SUSE::Connect::Remote::Activation.new(
OpenStruct.new(
"regcode" => "0123456789",
"service" => {
"product" => {
"service" => OpenStruct.new(
"product" => OpenStruct.new(
"name" => "SUSE Linux Enteprise Server", "identifier" => "SLES", "isbase" => true
}
}
)
)
)
end

let(:basesystem_activation) do
SUSE::Connect::Remote::Activation.new(
"service" => {
"product" => {
OpenStruct.new(
"service" => OpenStruct.new(
"product" => OpenStruct.new(
"name" => "Basesystem Module", "identifier" => "sle-basesystem"
}
}
)
)
)
end

let(:workstation_activation) do
SUSE::Connect::Remote::Activation.new(
OpenStruct.new(
"regcode" => "ABCDEFGHIJ",
"service" => {
"product" => {
"service" => OpenStruct.new(
"product" => OpenStruct.new(
"name" => "Workstation Extension", "identifier" => "sle-we"
}
}
)
)
)
end

Expand Down

0 comments on commit 97207bd

Please sign in to comment.