pateluday07 / saml-sso-and-slo-demo-idp-azure-sp-springboot

This project is to demonstrate how we can implement Single Sign-On (SSO) and Single Logout (SLO), by taking advantage of these resources: 1. Azure AD (Active Directory) as IDP 2. Springboot as SP 3. SAML (Security Assertion Markup Language) as SSO & SLO METHOD
35 stars 28 forks source link

Tests fail #4

Closed joeEulerity closed 2 years ago

joeEulerity commented 3 years ago

From a clean copy of the repo, I enter some dummy values in application.yaml, then run:

mvn clean package

There are numerous test failures with IllegalArgumentException, such as:

Could not resolve placeholder 'service.provider.entity.id' in value "${service.provider.entity.id}"

I tried the following fixes:

  1. copying src/main/resources to src/test/resources

  2. adding the following clause to in pom.xml

    ${project.basedir}/src/test/resources true ${project.basedir}/src/main/resources true

but neither approach worked. Can you help?

pateluday07 commented 2 years ago

Please skip the test cases when you package the application.