Actions
Patch #38496
closedAdd missing fixtures to SearchControllerTest
Description
Tests in search_controller_test.rb may fail due to missing fixtures.
$ bin/rake db:reset RAILS_ENV=test
$ ruby test/functional/search_controller_test.rb
Run options: --seed 26553
# Running:
.......F
Failure:
SearchControllerTest#test_results_should_be_escaped_once [test/functional/search_controller_test.rb:426]:
Expected false to be truthy.
rails test test/functional/search_controller_test.rb:425
..........F
Failure:
SearchControllerTest#test_keywords_should_be_highlighted [test/functional/search_controller_test.rb:436]:
Expected false to be truthy.
rails test test/functional/search_controller_test.rb:435
.......F
Failure:
SearchControllerTest#test_search_my_bookmarks [test/functional/search_controller_test.rb:179]:
Expected exactly 1 element matching "dt.issue", found 0..
Expected: 1
Actual: 0
rails test test/functional/search_controller_test.rb:174
.........
Files
Actions