Commit c6a1e1cc authored by Rafael Ravedutti's avatar Rafael Ravedutti

Adjust error code when failing to create professional on test

Signed-off-by: Rafael Ravedutti's avatarRafael Ravedutti <rrlmachado@inf.ufpr.br>
parent 85364e4d
Pipeline #17352 passed with stages
in 3 minutes and 37 seconds
......@@ -101,7 +101,7 @@ class Api::V1::ProfessionalsControllerTest < ActionDispatch::IntegrationTest
end
it "should not be permitted" do
assert_equal 404, response.status
assert_equal 422, response.status
end
it "should not create a professional" do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment