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:
@@ -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,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user