Skip to content

Commit

Permalink
encode
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel committed Mar 14, 2022
1 parent bad9d30 commit 104edce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/test/functional/request_controller_test.rb
Expand Up @@ -1333,7 +1333,7 @@ def test_search_and_involved_requests
assert_xml_tag(tag: 'request', attributes: { id: id })

# via POST
post '/search/request', params: URI.encode("match=(state/@name='new' or state/@name='review') and (action/target/@project='kde4' and action/target/@package='wpa_supplicant')")
post '/search/request', params: Addressable::URI.escape("match=(state/@name='new' or state/@name='review') and (action/target/@project='kde4' and action/target/@package='wpa_supplicant')")
assert_response :success
assert_xml_tag(tag: 'request', attributes: { id: id })

Expand Down

0 comments on commit 104edce

Please sign in to comment.