Skip to content

Commit

Permalink
moved general issue classed to yast2 package
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed May 28, 2020
1 parent 1c444c9 commit 77a154c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 200 deletions.
4 changes: 2 additions & 2 deletions package/autoyast2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ BuildRequires: libxml2-tools
BuildRequires: libxslt
BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec)
# AutoYaST issue handling
BuildRequires: yast2 >= 4.2.84
BuildRequires: yast2 >= 4.3.2
# FileSystems.read_default_subvol_from_target
BuildRequires: yast2-xml
BuildRequires: yast2-transfer
Expand All @@ -67,7 +67,7 @@ BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
Requires: autoyast2-installation = %{version}
Requires: libxslt
# AutoYaST issue handling
Requires: yast2 >= 4.2.84
Requires: yast2 >= 4.3.2
Requires: yast2-core
Requires: yast2-country >= 3.1.13
# Moving security module to first installation stage
Expand Down
59 changes: 0 additions & 59 deletions src/lib/autoinstall/autoinst_issues/ay_invalid_value.rb

This file was deleted.

57 changes: 0 additions & 57 deletions src/lib/autoinstall/autoinst_issues/ay_missing_value.rb

This file was deleted.

4 changes: 3 additions & 1 deletion test/AutoInstall_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@

context "when an issue has been found" do
it "shows a popup" do
subject.issues_list.add(:ay_invalid_value, "firewall", "FW_DEV_INT", "1",
subject.issues_list.add(
::Installation::AutoinstIssues::InvalidValue,
"firewall", "FW_DEV_INT", "1",
_("Is not supported anymore."))
expect_any_instance_of(Y2Autoinstallation::Dialogs::Question).to receive(:run)
.and_return(:ok)
Expand Down
43 changes: 0 additions & 43 deletions test/lib/autoinst_issues/ay_invalid_value_test.rb

This file was deleted.

38 changes: 0 additions & 38 deletions test/lib/autoinst_issues/ay_missing_value_test.rb

This file was deleted.

0 comments on commit 77a154c

Please sign in to comment.