Defect #29883 » 0001-Fix-spurious-spec-failure.diff
| test/functional/attachments_visibility_test.rb | ||
|---|---|---|
|
:issues, :trackers, :versions
|
||
|
def setup
|
||
|
User.current = nil
|
||
|
set_tmp_attachments_directory
|
||
|
@field = IssueCustomField.generate!(:field_format => 'attachment', :visible => true)
|
||
| test/integration/api_test/authentication_test.rb | ||
|---|---|---|
|
class Redmine::ApiTest::AuthenticationTest < Redmine::ApiTest::Base
|
||
|
fixtures :users
|
||
|
def teardown
|
||
|
User.current = nil
|
||
|
end
|
||
|
def test_api_should_deny_without_credentials
|
||
|
get '/users/current.xml'
|
||
|
assert_response 401
|
||