Added method to getting app states
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package com.plannaplan.security.cas;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
|
||||
@ -9,12 +10,15 @@ public class CustomUAMCasValidatorTest {
|
||||
private String serviceUrl;
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void shouldValidateWithDomain() {
|
||||
|
||||
CustomUAMCasValidator validator = new CustomUAMCasValidator(serviceUrl, "ST-54649-5x4h09vzUpEIyAGmf1sz-cas.amu.edu.pl");
|
||||
|
||||
validator.validate();
|
||||
// you need to privide fresh ticket to make this test pass that's why it is
|
||||
// marked as ignored
|
||||
|
||||
CustomUAMCasValidator validator = new CustomUAMCasValidator(serviceUrl,
|
||||
"ST-54649-5x4h09vzUpEIyAGmf1sz-cas.amu.edu.pl");
|
||||
|
||||
validator.validate();
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user