Skip to content

Commit

Permalink
call_filter: fix label ordering test
Browse files Browse the repository at this point in the history
  • Loading branch information
bloom1 authored and fblackburn1 committed Jul 25, 2023
1 parent e0731ff commit 5d90e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xivo_dao/resources/call_filter/tests/test_dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ def test_when_sorting_then_returns_result_in_ascending_order(self):

expected = SearchResult(5, [
self.call_filter1,
self.call_filter2,
self.call_filter3,
self.call_filter5,
self.call_filter4,
self.call_filter2,
])
self.assert_search_returns_result(expected, order='label')

Expand All @@ -293,10 +293,10 @@ def test_when_sorting_in_descending_order_then_returns_results_in_descending_ord
self.assert_search_returns_result(expected, order='name', direction='desc')

expected = SearchResult(5, [
self.call_filter2,
self.call_filter4,
self.call_filter5,
self.call_filter3,
self.call_filter2,
self.call_filter1,
])
self.assert_search_returns_result(expected, order='label', direction='desc')
Expand Down

0 comments on commit 5d90e49

Please sign in to comment.