##// END OF EJS Templates
scm: git: use diff_max_lines_displayed setting at test_diff_with_rev_and_path of functional test (#11752)...
Toshi MARUYAMA -
r10068:3581782ec2a4
parent child
Show More
@@ -290,6 +290,7 class RepositoriesGitControllerTest < ActionController::TestCase
290 290 @repository.fetch_changesets
291 291 @project.reload
292 292 assert_equal NUM_REV, @repository.changesets.count
293 with_settings :diff_max_lines_displayed => 1000 do
293 294 # Full diff of changeset 2f9c0091
294 295 ['inline', 'sbs'].each do |dt|
295 296 get :diff,
@@ -308,6 +309,7 class RepositoriesGitControllerTest < ActionController::TestCase
308 309 assert_tag :tag => 'h2', :content => /2f9c0091/
309 310 end
310 311 end
312 end
311 313
312 314 def test_diff_truncated
313 315 assert_equal 0, @repository.changesets.count
General Comments 0
You need to be logged in to leave comments. Login now