Skip to content

Commit bbdf168

Browse files
author
Giorgio Torres
committed
Failing test for creating a ticket without user_id or user_email correction on error message.
1 parent a9868c3 commit bbdf168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/controllers/api/v1/topics_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def app
187187

188188
object = JSON.parse(last_response.body)
189189
assert_equal 403, last_response.status
190-
assert object['error'] == 'Required fields not present.'
190+
assert object['error'] == 'Required fields not present. user_id or user_email is missing'
191191
end
192192

193193
test "an API user should be able to assign a ticket" do

0 commit comments

Comments
 (0)