Skip to content

Commit

Permalink
Fixed UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Oct 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4aef268 commit 91753e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/model.py
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@
RecordsUIResourceConfig,
)
from oarepo_ui.resources.components.bleach import AllowedHtmlTagsComponent
from oarepo_ui.resources.components.custom_fields import CustomFieldsComponent
from oarepo_ui.resources.config import TemplatePageUIResourceConfig
from oarepo_ui.resources.resource import TemplatePageUIResource

@@ -107,7 +108,7 @@ class ModelUIResourceConfig(RecordsUIResourceConfig):
"edit": "TestEdit",
}

components = [BabelComponent, PermissionsComponent, AllowedHtmlTagsComponent]
components = [BabelComponent, PermissionsComponent, AllowedHtmlTagsComponent, CustomFieldsComponent]


class ModelUIResource(RecordsUIResource):

0 comments on commit 91753e6

Please sign in to comment.