From 9469409cdeffc58a93ed1e05b406f56a149dc435 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 14 Apr 2016 10:08:08 +0200 Subject: [PATCH] Applied new pre_condition. --- test/unit/ticket_selector_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/ticket_selector_test.rb b/test/unit/ticket_selector_test.rb index 6e4e69c4e..a2c1fca6e 100644 --- a/test/unit/ticket_selector_test.rb +++ b/test/unit/ticket_selector_test.rb @@ -772,7 +772,7 @@ class TicketSelectorTest < ActiveSupport::TestCase }, 'ticket.owner_id' => { operator: 'is', - pre_condition: 'set', + pre_condition: 'not_set', }, } ticket_count, tickets = Ticket.selectors(condition, 10, agent1) @@ -794,7 +794,7 @@ class TicketSelectorTest < ActiveSupport::TestCase }, 'ticket.owner_id' => { operator: 'is not', - pre_condition: 'set', + pre_condition: 'not_set', }, } ticket_count, tickets = Ticket.selectors(condition, 10, agent1)