Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Jan 4, 2024
1 parent 3652089 commit a96c393
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def app_config(app_config):
app_config["APP_THEME"] = ["semantic-ui"]
app_config["THEME_SEARCHBAR"] = False
app_config["THEME_HEADER_TEMPLATE"] = "oarepo_ui/header.html"
app_config["THEME_HEADER_LOGIN_TEMPLATE"] = "oarepo_ui/header_login.html"

app_config["OAREPO_UI_JINJAX_FILTERS"] = {"dummy": lambda *args, **kwargs: "dummy"}

return app_config
Expand Down
4 changes: 2 additions & 2 deletions tests/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def _get_record(self, resource_requestctx, allow_draft=False):
class TitlePageUIResourceConfig(TemplatePageUIResourceConfig):
blueprint_name = 'titlepage'
url_prefix = '/'
routes = {
'TitlePage': ''
pages = {
'': 'TitlePage'
}


Expand Down

0 comments on commit a96c393

Please sign in to comment.