Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test: ensure RequireActiveVersion is actually set when testing with AGPL store #12843

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

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Apr 1, 2024

I had to remove the require.True because the store is hardwired to return false, and we depend on that behavior to disable the feature.

Previously, this test was setting RequireActiveVersion on the CreateTemplateRequest, which the backend would silently ignore, meaning that this test hasn't actually been testing the thing that it claims to test. Now we set this directly in the database, which corrects the test.

@aslilac aslilac requested a review from Emyrk April 1, 2024 21:44
@aslilac aslilac merged commit f705f9a into main Apr 2, 2024
@aslilac aslilac deleted the fix-agpl-require-active-version-test branch April 2, 2024 17:29
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants