Browse Source

Fixed test, in case of web form, use also email in from to be able to reply.

Martin Edenhofer 8 years ago
parent
commit
0c4bf9f5ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/controllers/tickets_controller_test.rb

+ 1 - 1
test/controllers/tickets_controller_test.rb

@@ -744,7 +744,7 @@ class TicketsControllerTest < ActionDispatch::IntegrationTest
     result = JSON.parse(@response.body)
     assert_equal(Hash, result.class)
     assert_equal(ticket.id, result['ticket_id'])
-    assert_equal('Tickets Customer1', result['from'])
+    assert_equal('Tickets Customer1 <tickets-customer1@example.com>', result['from'])
     assert_equal('some subject', result['subject'])
     assert_equal('some body', result['body'])
     assert_equal('text/plain', result['content_type'])