fix tests; adjust log levels for tests

This commit is contained in:
Misagh Moayyed 2018-07-17 11:33:03 +04:30
parent 87ac085dfd
commit 15100f3c39
2 changed files with 6 additions and 5 deletions

View File

@ -33,7 +33,7 @@ import org.junit.Test;
*/
public final class Cas10TicketValidatorTests extends AbstractTicketValidatorTests {
private static final PublicTestHttpServer server = PublicTestHttpServer.instance(8090);
private static final PublicTestHttpServer server = PublicTestHttpServer.instance(8091);
private Cas10TicketValidator ticketValidator;
@ -48,7 +48,7 @@ public final class Cas10TicketValidatorTests extends AbstractTicketValidatorTest
@Before
public void setUp() throws Exception {
this.ticketValidator = new Cas10TicketValidator(CONST_CAS_SERVER_URL_PREFIX + "8090");
this.ticketValidator = new Cas10TicketValidator(CONST_CAS_SERVER_URL_PREFIX + "8091");
}
@Test

View File

@ -21,10 +21,11 @@
# under the License.
#
log4j.rootCategory=INFO, stdout
log4j.logger.org.apache.xml.security=OFF
log4j.rootCategory=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-5p %d{ISO8601} %t::%c{1} - %m%n
log4j.logger.org.jasig.cas=DEBUG
log4j.logger.org.apache.xml.security=OFF
log4j.logger.org.jasig.cas=WARN