Skip to content

Commit

Permalink
[BAEL-14844] -
Browse files Browse the repository at this point in the history
  • Loading branch information
amit2103 committed Jun 9, 2019
1 parent aa4f687 commit 151fdb5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
10 changes: 10 additions & 0 deletions libraries-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,16 @@
<groupId>org.apache.storm</groupId>
<artifactId>storm-core</artifactId>
<version>${storm.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.util.Arrays;
import java.util.List;

import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;

public class BackupCreatorIntegrationTest {
Expand Down Expand Up @@ -88,7 +89,7 @@ public void givenProperBackupObject_whenSerializeIsInvoked_thenObjectIsProperlyS
SerializationSchema<Backup> serializationSchema = new BackupSerializationSchema();
byte[] backupProcessed = serializationSchema.serialize(backup);

assertEquals(backupSerialized, backupProcessed);
assertArrayEquals(backupSerialized, backupProcessed);
}

private static class CollectingSink implements SinkFunction<Backup> {
Expand Down
1 change: 1 addition & 0 deletions libraries/src/main/java/com/baeldung/ftp/FtpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ void putFileToPath(File file, String path) throws IOException {
void downloadFile(String source, String destination) throws IOException {
FileOutputStream out = new FileOutputStream(destination);
ftp.retrieveFile(source, out);
out.close();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AdderMethodDirtiesContextIntegrationTest {
@Test
public void _1_givenNumber_whenAdd_thenSumWrong() {
adderServiceSteps.whenAdd();
adderServiceSteps.sumWrong();
adderServiceSteps.summedUp();
}

@Rule
Expand Down

0 comments on commit 151fdb5

Please sign in to comment.