15430: Updates wb1 test so that it exercises the ilike operator instead of @@
[arvados.git] / apps / workbench / test / controllers / work_units_controller_test.rb
index 6f74955cd1c8d0940c979b70867a6cbbfda5aacb..375c65c9bb0bc40494f445c16e8f901b01cbd721 100644 (file)
@@ -32,7 +32,7 @@ class WorkUnitsControllerTest < ActionController::TestCase
        '/container_requests/zzzzz-xvhdp-cr4completedcr2']],
   ].each do |search_filter, expected_min, expected_max, expected, not_expected|
     test "all_processes page for search filter '#{search_filter}'" do
-      work_units_index(filters: [['any','@@', search_filter]], show_children: true)
+      work_units_index(filters: [['any','ilike', "%#{search_filter}%"]], show_children: true)
       assert_response :success
 
       # Verify that expected number of processes are found