aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/at
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-15 12:04:26 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-15 12:09:28 +0200
commitd9e5864f48d261c06de1f1d34000ff6156155569 (patch)
treed66524e395f403d57f27d25cfdcab5dcd25511e4 /src/test/java/at
parent25d68c8900c2cc791f03ea3db173955ca237fd55 (diff)
downloadmoa-zs-d9e5864f48d261c06de1f1d34000ff6156155569.tar.gz
moa-zs-d9e5864f48d261c06de1f1d34000ff6156155569.tar.bz2
moa-zs-d9e5864f48d261c06de1f1d34000ff6156155569.zip
Save Response To File Sink: Add Path to Configuration + Fix
- Fix in ConfigUtil: SaveResponseToFile boolean would override LogResponse configuration (Copy Paste Error).
Diffstat (limited to 'src/test/java/at')
-rw-r--r--src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java b/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java
index 58efe6a..1fa3997 100644
--- a/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java
+++ b/src/test/java/at/gv/egiz/moazs/SaveResponseToFileSinkTest.java
@@ -44,7 +44,7 @@ public class SaveResponseToFileSinkTest {
@Before
public void setup() {
- sink = new SaveResponseToFileSink(marshaller, repository, root);
+ sink = new SaveResponseToFileSink(marshaller, repository);
deleteRoot();
}
@@ -63,7 +63,7 @@ public class SaveResponseToFileSinkTest {
var fileContent = "<xml>some content</xml>";
var status = setupMocks(fileContent);
- sink.save(status)
+ sink.save(status, root)
.thenRun(() -> assertFilesCreatedAndContentMatches(fileContent));
}