Skip to content

Commit c680e77

Browse files
committed
NRL-738 fix test
1 parent 4b4ada8 commit c680e77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

layer/nrlf/core/tests/test_decorators.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from nrlf.core.codes import SpineErrorConcept
88
from nrlf.core.config import Config
9+
from nrlf.core.constants import PERMISSION_ALLOW_ALL_POINTER_TYPES
910
from nrlf.core.decorators import (
1011
deprecated,
1112
error_handler,
@@ -430,7 +431,8 @@ def decorated_function(event, context, config, metadata) -> Response:
430431

431432
def test_request_load_connection_metadata_with_permission_headers():
432433
expected_metdata = load_connection_metadata(
433-
headers=create_headers(nrl_permissions=["somePermission"]), config=Config()
434+
headers=create_headers(nrl_permissions=[PERMISSION_ALLOW_ALL_POINTER_TYPES]),
435+
config=Config(),
434436
)
435437

436438
assert expected_metdata.pointer_types == [

0 commit comments

Comments
 (0)