From 4de1b42b8b8538da3e4d16b1692c99824e51eb29 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 14 Mar 2018 14:13:11 -0400 Subject: [PATCH] 12552: Fix workflow parent priority test. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- services/api/test/unit/container_request_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/api/test/unit/container_request_test.rb b/services/api/test/unit/container_request_test.rb index a2c5279552..70ad11e0f4 100644 --- a/services/api/test/unit/container_request_test.rb +++ b/services/api/test/unit/container_request_test.rb @@ -325,8 +325,8 @@ class ContainerRequestTest < ActiveSupport::TestCase set_user_from_auth :active # parents should be prioritized by submit time. - assert_operator children[0].priority, :>, children[1].priority - assert_operator children[1].priority, :>, children[2].priority + assert_operator parents[0].priority, :>, parents[1].priority + assert_operator parents[1].priority, :>, parents[2].priority # children should be prioritized in same order as their respective # parents. -- 2.30.2