Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SavvasMisaghMoayyed committed Aug 30, 2014
1 parent 3d4c452 commit cafa30a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -19,7 +19,7 @@

package org.slf4j.impl;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.jasig.cas.ticket.TicketGrantingTicket;
import org.slf4j.Logger;
import org.slf4j.Marker;
Expand Down
Expand Up @@ -342,7 +342,7 @@ private void validateLogData() {
assertTrue("Log file " + LOG_FILE.getCanonicalPath() + " does not exist", LOG_FILE.exists());

final String data = FileUtils.readFileToString(LOG_FILE);
assertTrue("Logged buffer data is blank", StringUtils.isNotBlank(data));
assertTrue("Logged buffer data is blank in " + LOG_FILE.getCanonicalPath(), StringUtils.isNotBlank(data));
assertFalse("Logged buffer data should not contain " + ID1, data.contains(ID1));
assertFalse("Logged buffer data should not contain " + ID2, data.contains(ID2));
} catch (final IOException e) {
Expand Down

0 comments on commit cafa30a

Please sign in to comment.