Skip to content

Allow a Policy to be scoped for a single unit test #4

@mguymon

Description

@mguymon

Allow a Policy to be scoped for a single unit test. Presently a Policy will affect all models created by the ModelFactory. Setting a User by the Singleton Policy will cause that User to be injected for all Unit Tests that use that ModelFactory. Should be able to set the scope of the Singleton Policy to only affect the present Unit Test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions