Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Oct 29, 2024
1 parent 84c8e69 commit dbd46f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def setUp(self):
from django.contrib.admin import site

LinkAdmin = site._registry[Link]
self.endpoint = admin_reverse(LinkAdmin.link_url_name)
self.endpoint = admin_reverse(LinkAdmin.global_link_url_name)

def tearDown(self):
self.root_page.delete()
Expand Down Expand Up @@ -132,7 +132,7 @@ def test_outdated_reference(self):
class LinkEndpointThirdPartyTestCase(CMSTestCase):
def setUp(self):
LinkAdmin = admin.site._registry[Link]
self.endpoint = admin_reverse(LinkAdmin.link_url_name)
self.endpoint = admin_reverse(LinkAdmin.global_link_url_name)

self.second_site = Site.objects.create(
domain="second",
Expand Down Expand Up @@ -249,7 +249,7 @@ def setUp(self):

LinkAdmin = admin.site._registry[Link]

self.endpoint = admin_reverse(LinkAdmin.link_url_name)
self.endpoint = admin_reverse(LinkAdmin.global_link_url_name)
self.root_page = create_page(
title="root",
template="page.html",
Expand Down

0 comments on commit dbd46f0

Please sign in to comment.