mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Fix CustomLinkButtonClassChoices references in tests
This commit is contained in:
parent
9f53497e39
commit
8e69961744
@ -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,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user