summaryrefslogtreecommitdiff
path: root/tests/admin_widgets
diff options
context:
space:
mode:
authorDevin Cox <dcox@surefyre.co>2024-06-12 11:35:12 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-06-12 13:09:04 +0200
commit719a42b589d7551fc84708044b9e984ce723c8a2 (patch)
tree0815e07fa362a74d90cffcf49b8061e2a1d2273c /tests/admin_widgets
parentf812b927a541fecc8ee445e1fd4dbe9d0540d523 (diff)
Fixed #34789 -- Prevented updateRelatedSelectsOptions from
adding entries to filter_horizontal chosen box. Co-authored-by: yokeshwaran1 <yokesh440@yahoo.com>
Diffstat (limited to 'tests/admin_widgets')
-rw-r--r--tests/admin_widgets/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py
index 4d18849692..6f009a6f3f 100644
--- a/tests/admin_widgets/tests.py
+++ b/tests/admin_widgets/tests.py
@@ -948,7 +948,7 @@ class RelatedFieldWidgetWrapperTests(SimpleTestCase):
output = wrapper.render("stream", "value")
expected = """
<div class="related-widget-wrapper" data-model-ref="releaseevent">
- <select name="stream">
+ <select name="stream" data-context="available-source">
</select>
<a class="related-widget-wrapper-link add-related" id="add_id_stream"
data-popup="yes" title="Add another release event"