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

Unit tests fail #81

Open
jeffgbradley2 opened this issue May 7, 2021 · 3 comments
Open

Unit tests fail #81

jeffgbradley2 opened this issue May 7, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@jeffgbradley2
Copy link

After cloning the repo, running the unit test in the validation cartridge module fails.

@cjmamo cjmamo self-assigned this May 7, 2021
@cjmamo
Copy link
Member

cjmamo commented May 7, 2021

What's the error that you're getting? The tests pass on my machine and even on the CI server.

@jeffgbradley2
Copy link
Author

Expected :Invalid customer number 'user1' at '/Order/header/username'. Customer number must begin with an uppercase character, followed by 5 digits.
Actual :[/Order/header/username] RegexRuleEvalResult, matched=false, providerName=customer, ruleName=customerId, text=user1, pattern=[A-Z][0-9]{5}

@cjmamo cjmamo transferred this issue from smooks/smooks-examples Dec 12, 2023
@cjmamo
Copy link
Member

cjmamo commented Dec 12, 2023

This is most likely happening because you're running the tests on Java 9+. Currently the cartridge doesn't support this version of Java but I'm looking into making it compatible with Java 11.

@cjmamo cjmamo added the enhancement New feature or request label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants