Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Jun 11, 2024
1 parent e465fa8 commit a7a4230
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aries_cloudagent/core/in_memory/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ def test_profile(
) -> "InMemoryProfile":
"""Used in tests to create a standard InMemoryProfile."""
profile = InMemoryProfile(
context=InjectionContext(enforce_typing=False, settings=settings),
context=InjectionContext(
enforce_typing=False,
settings=settings or {"admin.admin_insecure_mode": True},
),
name=InMemoryProfile.TEST_PROFILE_NAME,
profile_class=profile_class,
)
Expand Down

0 comments on commit a7a4230

Please sign in to comment.