Skip to content

Commit 551b040

Browse files
[SA]-[changed back to app_restricted_access_code ]-[BS]
1 parent d23009b commit 551b040

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integration/test_app_restricted.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,14 @@ async def test_authorised_application_not_supported_for_user_restricted(
8484
assert issue_details["code"] == "NO_ACCESS"
8585

8686
def test_authorised_application_supported_for_app_restricted(
87-
self, access_code, service_url
87+
self, app_restricted_access_code, service_url
8888
):
8989
client_request_headers = {
90-
_HEADER_AUTHORIZATION: "Bearer " + access_code,
90+
_HEADER_AUTHORIZATION: "Bearer " + app_restricted_access_code,
9191
RenamedHeader.CORRELATION_ID.original: _EXPECTED_CORRELATION_ID,
9292
_HEADER_REQUEST_ID: "DUMMY", # this must be less than 10 characters
9393
}
9494

95-
# changed to access_code from app_restricted_access_code
9695

9796
# Make the API call
9897
response = requests.get(

0 commit comments

Comments
 (0)