mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 01:06:00 +01:00
Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -19,9 +19,6 @@
|
||||
require_relative '../test_helper'
|
||||
|
||||
class UserQueryTest < ActiveSupport::TestCase
|
||||
fixtures :users, :groups_users, :email_addresses,
|
||||
:custom_fields, :custom_values, :auth_sources
|
||||
|
||||
def test_available_columns_should_include_user_custom_fields
|
||||
query = UserQuery.new
|
||||
assert_include :cf_4, query.available_columns.map(&:name)
|
||||
|
||||
Reference in New Issue
Block a user