scm: git: add instance variable @project at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6248 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d34d933f31
commit
61e6dc0a48
@ -46,8 +46,9 @@ class RepositoriesGitControllerTest < ActionController::TestCase
|
||||
@request = ActionController::TestRequest.new
|
||||
@response = ActionController::TestResponse.new
|
||||
User.current = nil
|
||||
@project = Project.find(PRJ_ID)
|
||||
@repository = Repository::Git.create(
|
||||
:project => Project.find(3),
|
||||
:project => @project,
|
||||
:url => REPOSITORY_PATH,
|
||||
:path_encoding => 'ISO-8859-1'
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user