Skip to content
Snippets Groups Projects
Commit 8431ae4d authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

change route

parent f786756d
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ class V1::CollectionsControllerTest < ActionController::TestCase ...@@ -51,7 +51,7 @@ class V1::CollectionsControllerTest < ActionController::TestCase
test 'should user remove items to collection and return :ok code' do test 'should user remove items to collection and return :ok code' do
auth_request users(:john) auth_request users(:john)
post :add_object, params: { id: collections(:ufpr).id, collection: { items: [{ id: learning_objects(:lo_metadata).id, type: 'LearningObject'}] }} post :delete_object, params: { id: collections(:ufpr).id, collection: { items: [{ id: learning_objects(:lo_metadata).id, type: 'LearningObject'}] }}
assert_response :ok assert_response :ok
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment