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

Fix getAMC integration:stock test #7517

Open
jmcameron opened this issue Feb 29, 2024 · 0 comments
Open

Fix getAMC integration:stock test #7517

jmcameron opened this issue Feb 29, 2024 · 0 comments
Labels

Comments

@jmcameron
Copy link
Collaborator

The test test/integration-stock/depots.js on line 78 that is failing because the getAMC() function does not seem to be handling the leap year correctly, because of February 29.

The calculation for the test assumes 10 days, but getAMC() apparently only uses 9, so the check values in the test are incorrect.

Fix this test and also figure out of the SQL getAMC() function needs fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant