Fix CustomLinkButtonClassChoices references in tests

This commit is contained in:
jeremystretch 2021-12-30 08:15:43 -05:00
parent 9f53497e39
commit 8e69961744

View File

@ -68,7 +68,7 @@ class CustomLinkTestCase(ViewTestCases.PrimaryObjectViewTestCase):
'name': 'Custom Link X', 'name': 'Custom Link X',
'content_type': site_ct.pk, 'content_type': site_ct.pk,
'weight': 100, 'weight': 100,
'button_class': CustomLinkButtonClassChoices.CLASS_DEFAULT, 'button_class': CustomLinkButtonClassChoices.DEFAULT,
'link_text': 'Link X', 'link_text': 'Link X',
'link_url': 'http://example.com/?x' 'link_url': 'http://example.com/?x'
} }
@ -81,7 +81,7 @@ class CustomLinkTestCase(ViewTestCases.PrimaryObjectViewTestCase):
) )
cls.bulk_edit_data = { cls.bulk_edit_data = {
'button_class': CustomLinkButtonClassChoices.CLASS_CYAN, 'button_class': CustomLinkButtonClassChoices.CYAN,
'weight': 200, 'weight': 200,
} }