mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 18:31:14 +00:00
Fixed duplicate test names (#18306).
git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fb0485d8a3
commit
700736de5d
@ -96,7 +96,7 @@ class IssueStatusesControllerTest < ActionController::TestCase
|
||||
assert_nil IssueStatus.find_by_id(1)
|
||||
end
|
||||
|
||||
def test_destroy_should_block_if_status_in_use
|
||||
def test_destroy_should_block_if_status_is_used_by_issues
|
||||
assert Issue.where(:status_id => 1).any?
|
||||
Tracker.where(:default_status_id => 1).delete_all
|
||||
|
||||
@ -107,7 +107,7 @@ class IssueStatusesControllerTest < ActionController::TestCase
|
||||
assert_not_nil IssueStatus.find_by_id(1)
|
||||
end
|
||||
|
||||
def test_destroy_should_block_if_status_in_use
|
||||
def test_destroy_should_block_if_status_is_used_as_tracker_default_status
|
||||
Issue.where(:status_id => 1).delete_all
|
||||
assert Tracker.where(:default_status_id => 1).any?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user