From daca6e4d355b51218ecc525d11694a2bcf23fc8c Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Tue, 4 Feb 2025 08:53:26 +0100 Subject: [PATCH] remove test for M0012 and related helper --- spec/site/tlc/signal_groups_spec.rb | 10 ---------- spec/support/command_helpers.rb | 9 --------- 2 files changed, 19 deletions(-) diff --git a/spec/site/tlc/signal_groups_spec.rb b/spec/site/tlc/signal_groups_spec.rb index 1cecadfe..406e704e 100644 --- a/spec/site/tlc/signal_groups_spec.rb +++ b/spec/site/tlc/signal_groups_spec.rb @@ -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 diff --git a/spec/support/command_helpers.rb b/spec/support/command_helpers.rb index ce5cd95a..7cd6675d 100644 --- a/spec/support/command_helpers.rb +++ b/spec/support/command_helpers.rb @@ -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