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

feat(jans-auth-server):get up tests updating arquillian and jetty-embedded issue 1247 #2017

Merged

Conversation

jmunozherbas
Copy link
Contributor

Prepare


Description

Updating arquillian version, to allow running embedded jetty tests.

Target issue

#1247
closes #1247

Implementation Details

upgrade version arquillian-jetty-embedded-11 1.0.0.CR4
upgrade version arquillian test 1.7.0.Alpha10
allow using injection inside tests


Test and Document the changes

  • Static code analysis has been run locally and issues have been fixed
  • Relevant unit and integration tests have been added/updated
  • Relevant documentation has been updated if any (i.e. user guides, installation and configuration guides, technical design docs etc)

@mo-auto mo-auto added comp-jans-auth-server Component affected by issue or PR kind-feature Issue or PR is a new feature request labels Aug 4, 2022
@jmunozherbas jmunozherbas marked this pull request as ready for review August 4, 2022 04:42
}

public ClientService getClientService() {
return (ClientService) HM_TEST_INJECTOR.get("ClientService");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check whether CdiUtil.bean(ClientService.class) will work instead of alien static holder? If it will work we have to drop this map.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have applied CdiUtil.bean, it is working thanks.

@sonarcloud
Copy link

sonarcloud bot commented Aug 4, 2022

[Jans authentication server parent] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@yuriyz yuriyz merged commit ee200a7 into main Aug 5, 2022
@yuriyz yuriyz deleted the feat-jans-auth-get-up-tests-updating-arquillian-and-jetty branch August 5, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-auth-server Component affected by issue or PR kind-feature Issue or PR is a new feature request
Projects
None yet
3 participants