1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

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