Skip to content

Commit

Permalink
(#28) Fixed Base64 import
Browse files Browse the repository at this point in the history
  • Loading branch information
svettwer committed Apr 17, 2019
1 parent cac5e0f commit 410f577
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import com.consol.citrus.db.driver.dataset.DataSet;
import com.consol.citrus.db.driver.dataset.DataSetBuilder;
import com.jparams.verifier.tostring.ToStringVerifier;
import com.sun.org.apache.xml.internal.security.utils.Base64;
import nl.jqno.equalsverifier.EqualsVerifier;
import nl.jqno.equalsverifier.Warning;
import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.io.IOUtils;
import org.apache.http.client.HttpClient;
import org.powermock.core.classloader.annotations.PrepareForTest;
Expand Down Expand Up @@ -761,7 +761,7 @@ void testGetBlobByIndex() throws SQLException, IOException {

//GIVEN
final String expectedText = "nuqneh";
final JdbcResultSet resultSet = generateResultSet(Base64.encode(expectedText.getBytes()));
final JdbcResultSet resultSet = generateResultSet(Base64.encodeBase64String(expectedText.getBytes()));
resultSet.next();

//WHEN
Expand All @@ -778,7 +778,7 @@ void testGetBlobByColumn() throws SQLException, IOException {

//GIVEN
final String expectedText = "nuqneh";
final JdbcResultSet resultSet = generateResultSet(Base64.encode(expectedText.getBytes()));
final JdbcResultSet resultSet = generateResultSet(Base64.encodeBase64String(expectedText.getBytes()));
resultSet.next();

//WHEN
Expand Down

0 comments on commit 410f577

Please sign in to comment.