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