@@ -36,8 +36,9 class RepositoriesFilesystemControllerTest < ActionController::TestCase | |||||
36 | @response = ActionController::TestResponse.new |
|
36 | @response = ActionController::TestResponse.new | |
37 | User.current = nil |
|
37 | User.current = nil | |
38 | Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem') |
|
38 | Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem') | |
|
39 | @project = Project.find(PRJ_ID) | |||
39 | @repository = Repository::Filesystem.create( |
|
40 | @repository = Repository::Filesystem.create( | |
40 |
:project => |
|
41 | :project => @project, | |
41 | :url => REPOSITORY_PATH, |
|
42 | :url => REPOSITORY_PATH, | |
42 | :path_encoding => '' |
|
43 | :path_encoding => '' | |
43 | ) |
|
44 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now