Applied new pre_condition.
This commit is contained in:
parent
4731cfb16d
commit
9469409cde
1 changed files with 2 additions and 2 deletions
|
@ -772,7 +772,7 @@ class TicketSelectorTest < ActiveSupport::TestCase
|
||||||
},
|
},
|
||||||
'ticket.owner_id' => {
|
'ticket.owner_id' => {
|
||||||
operator: 'is',
|
operator: 'is',
|
||||||
pre_condition: 'set',
|
pre_condition: 'not_set',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
ticket_count, tickets = Ticket.selectors(condition, 10, agent1)
|
ticket_count, tickets = Ticket.selectors(condition, 10, agent1)
|
||||||
|
@ -794,7 +794,7 @@ class TicketSelectorTest < ActiveSupport::TestCase
|
||||||
},
|
},
|
||||||
'ticket.owner_id' => {
|
'ticket.owner_id' => {
|
||||||
operator: 'is not',
|
operator: 'is not',
|
||||||
pre_condition: 'set',
|
pre_condition: 'not_set',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
ticket_count, tickets = Ticket.selectors(condition, 10, agent1)
|
ticket_count, tickets = Ticket.selectors(condition, 10, agent1)
|
||||||
|
|
Loading…
Reference in a new issue