]> source.dussan.org Git - redmine.git/commitdiff
Removed duplicate test case.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Oct 2015 09:17:33 +0000 (09:17 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 17 Oct 2015 09:17:33 +0000 (09:17 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14684 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mail_handler_test.rb

index 9534980fdd1465957e0a6f3c837d125f8e386a95..a93ecfedfda2638ef8047883d642e357e56addb4 100644 (file)
@@ -137,23 +137,6 @@ class MailHandlerTest < ActiveSupport::TestCase
     assert_equal true, issue.reload.is_private
   end
 
-  def test_add_issue_with_attributes_override
-    issue = submit_email(
-              'ticket_with_attributes.eml',
-              :allow_override => 'tracker,category,priority'
-            )
-    assert issue.is_a?(Issue)
-    assert !issue.new_record?
-    issue.reload
-    assert_equal 'New ticket on a given project', issue.subject
-    assert_equal User.find_by_login('jsmith'), issue.author
-    assert_equal Project.find(2), issue.project
-    assert_equal 'Feature request', issue.tracker.to_s
-    assert_equal 'Stock management', issue.category.to_s
-    assert_equal 'Urgent', issue.priority.to_s
-    assert issue.description.include?('Lorem ipsum dolor sit amet, consectetuer adipiscing elit.')
-  end
-
   def test_add_issue_with_group_assignment
     with_settings :issue_group_assignment => '1' do
       issue = submit_email('ticket_on_given_project.eml', :allow_override => ['assigned_to']) do |email|