Skip to content

Commit f3cabe0

Browse files
committed
fix: test as v1 home/courses endpoint was removed
fix: test as v1 home/courses endpoint was removed from master 33b3480, During rebase, this test was missed.
1 parent b1c8acb commit f3cabe0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cms/djangoapps/contentstore/rest_api/v3/tests/test_home.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ def test_instance_field_is_request_path(self):
7575
def test_v1_endpoint_unaffected_by_v3_envelope(self):
7676
"""
7777
The ADR 0029 envelope must be scoped to v3 — hitting the legacy v1
78-
``home/courses`` endpoint unauthenticated must NOT return the v3 envelope
78+
``home`` endpoint unauthenticated must NOT return the v3 envelope
7979
(it has no ``type`` / ``instance`` keys).
8080
"""
81-
v1_url = reverse("cms.djangoapps.contentstore:v1:courses")
81+
v1_url = reverse("cms.djangoapps.contentstore:v1:home")
8282
response = self.client.get(v1_url)
8383
assert response.status_code == status.HTTP_401_UNAUTHORIZED
8484
# v1 still uses the project-default handler → ADR 0029 fields absent.

0 commit comments

Comments
 (0)