We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c8acb commit f3cabe0Copy full SHA for f3cabe0
1 file changed
cms/djangoapps/contentstore/rest_api/v3/tests/test_home.py
@@ -75,10 +75,10 @@ def test_instance_field_is_request_path(self):
75
def test_v1_endpoint_unaffected_by_v3_envelope(self):
76
"""
77
The ADR 0029 envelope must be scoped to v3 — hitting the legacy v1
78
- ``home/courses`` endpoint unauthenticated must NOT return the v3 envelope
+ ``home`` endpoint unauthenticated must NOT return the v3 envelope
79
(it has no ``type`` / ``instance`` keys).
80
81
- v1_url = reverse("cms.djangoapps.contentstore:v1:courses")
+ v1_url = reverse("cms.djangoapps.contentstore:v1:home")
82
response = self.client.get(v1_url)
83
assert response.status_code == status.HTTP_401_UNAUTHORIZED
84
# v1 still uses the project-default handler → ADR 0029 fields absent.
0 commit comments