Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving rego api test fixtures to a separate file #1503

Merged
merged 1 commit into from
Sep 8, 2022
Merged

Moving rego api test fixtures to a separate file #1503

merged 1 commit into from
Sep 8, 2022

Conversation

matajoh
Copy link
Member

@matajoh matajoh commented Sep 8, 2022

This PR moves the API test fixtures to a separate api_test.rego file. In order to avoid code duplication, the logic to check enforcement point information was moved to the framework. This PR also addresses some whitespace issues that crept into the Rego files.

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
@matajoh matajoh requested a review from a team as a code owner September 8, 2022 10:15
@anmaxvl anmaxvl merged commit 46db6ff into microsoft:main Sep 8, 2022
@anmaxvl anmaxvl deleted the rego_test_fixtures branch September 8, 2022 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants