Skip to content
Snippets Groups Projects
Unverified Commit 30c90a6e authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

no invalid

parent 61dd0c20
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,4 @@ class Extranet::PersonalDataControllerTest < ActionDispatch::IntegrationTest
assert_redirected_to(account_path)
assert(alumnus_person.reload.biography.to_s.include?("Je suis un ancien étudiant."))
end
def test_update_invalid
patch personal_data_path, params: { university_person: { last_name: "" } }
assert_response(:unprocessable_entity)
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