@@ -237,8 +237,10 class RepositoriesGitControllerTest < ActionController::TestCase | |||||
237 | end |
|
237 | end | |
238 |
|
238 | |||
239 | def test_diff_truncated |
|
239 | def test_diff_truncated | |
|
240 | assert_equal 0, @repository.changesets.count | |||
240 | @repository.fetch_changesets |
|
241 | @repository.fetch_changesets | |
241 |
@ |
|
242 | @project.reload | |
|
243 | assert_equal NUM_REV, @repository.changesets.count | |||
242 | Setting.diff_max_lines_displayed = 5 |
|
244 | Setting.diff_max_lines_displayed = 5 | |
243 |
|
245 | |||
244 | # Truncated diff of changeset 2f9c0091 |
|
246 | # Truncated diff of changeset 2f9c0091 |
General Comments 0
You need to be logged in to leave comments.
Login now