Skip to content

Commit

Permalink
remove test for M0012 and related helper
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Feb 4, 2025
1 parent 56084e7 commit 282d3c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
10 changes: 0 additions & 10 deletions spec/site/tlc/signal_groups_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@
end
end

# 1. Verify connection
# 2. Send control command to start or stop a serie of signalgroups
# 3. Wait for status = true
specify 'series can be started/stopped with M0012', :important, sxl: '>=1.0.8' do |example|
Validator::Site.connected do |task,supervisor,site|
prepare task, site
set_signal_start_or_stop '5,4134,65;5,11'
end
end

# Verify status S0017 number of signal groups
#
# 1. Given the site is connected
Expand Down
9 changes: 0 additions & 9 deletions spec/support/command_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ def set_signal_stop
send_command_and_confirm @task, command_list, "Order signal group #{indx} to red", component
end

# Request series of signal groups to start/stop
def set_signal_start_or_stop status
command_list = build_command_list :M0012, :setStart, {
securityCode: Validator.get_config('secrets','security_codes',2),
status: status
}
send_command_and_confirm @task, command_list, "Request series of signal groups to #{status}"
end

# Switch signal plan
def set_plan plan
require_security_codes
Expand Down

0 comments on commit 282d3c0

Please # to comment.