@@ -324,8 +324,7 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
324 | 324 | :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7' |
|
325 | 325 | assert_response :success |
|
326 | 326 | assert @response.body.include?("... This diff was truncated") |
|
327 | ||
|
328 | Setting.default_language = 'fr' | |
|
327 | with_settings :default_language => 'fr' do | |
|
329 | 328 | get :diff, :id => PRJ_ID, :type => 'inline', |
|
330 | 329 | :rev => '2f9c0091c754a91af7a9c478e36556b4bde8dcf7' |
|
331 | 330 | assert_response :success |
@@ -334,6 +333,7 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
334 | 333 | end |
|
335 | 334 | end |
|
336 | 335 | end |
|
336 | end | |
|
337 | 337 | |
|
338 | 338 | def test_diff_two_revs |
|
339 | 339 | assert_equal 0, @repository.changesets.count |
General Comments 0
You need to be logged in to leave comments.
Login now