Skip to content

Commit

Permalink
Get the forms in the controller tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Feb 2, 2025
1 parent 2b6e60e commit ab7a9bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/controllers/names/filters_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class FiltersControllerTest < FunctionalTestCase
def test_existing_pattern
@request.session["pattern"] = "something"
@request.session["search_type"] = "name"
get(:new)
end
end
end
1 change: 1 addition & 0 deletions test/controllers/observations/filters_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class FiltersControllerTest < FunctionalTestCase
def test_existing_pattern
@request.session["pattern"] = "something"
@request.session["search_type"] = "observation"
get(:new)
end
end
end

0 comments on commit ab7a9bc

Please sign in to comment.