Skip to content

Commit d454e47

Browse files
committed
Opt-in scc system sync by default
1 parent 88dc7eb commit d454e47

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

spec/rmt/wizard_scc_page_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
describe RMT::WizardSCCPage do
2424
subject(:scc_page) { described_class.new(config) }
2525

26-
let(:config) { { 'scc' => { 'username' => 'user_mcuserface', 'password' => 'test', 'sync_systems' => false } } }
26+
let(:config) { { 'scc' => { 'username' => 'user_mcuserface', 'password' => 'test', 'sync_systems' => true } } }
2727

2828
describe '#render_content' do
2929
it 'renders UI elements' do

src/lib/rmt/wizard_scc_page.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def abort_handler
7777
def skip_handler
7878
@config['scc']['username'] = UI.QueryWidget(Id(:scc_username), :Value)
7979
@config['scc']['password'] = UI.QueryWidget(Id(:scc_password), :Value)
80-
@config['scc']['sync_systems'] = false
80+
@config['scc']['sync_systems'] = true
8181

8282
return unless Popup.AnyQuestion(
8383
_('Skip SCC registration?'),
@@ -94,7 +94,7 @@ def skip_handler
9494
def next_handler
9595
@config['scc']['username'] = UI.QueryWidget(Id(:scc_username), :Value)
9696
@config['scc']['password'] = UI.QueryWidget(Id(:scc_password), :Value)
97-
@config['scc']['sync_systems'] = false
97+
@config['scc']['sync_systems'] = true
9898

9999
return unless scc_credentials_valid? || Popup.AnyQuestion(
100100
_('Continue with invalid credentials?'),

0 commit comments

Comments
 (0)