Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit b68e914

Browse files
authored
Fix unit test testCannotWriteToFiles (#314)
## Description Fix unit test testCannotWriteToFiles ## Type of Change Please delete options that are not relevant. * Bug fix (non-breaking change which fixes an issue) Signed-off-by: David Kornel <kornys@outlook.com>
1 parent 2ed52f3 commit b68e914

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-frame-log-collector/src/test/java/io/skodjob/testframe/LogCollectorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ void testCannotWriteToFiles() {
384384
mockNamespaces(namespaceName);
385385
mockEvents();
386386

387-
LogCollector spyCollector = spy(new LogCollectorBuilder(logCollector).build());
387+
LogCollector spyCollector = spy(logCollector);
388388

389389
doThrow(new RuntimeException()).when(spyCollector).writeDataToFile(any(), anyString());
390390

0 commit comments

Comments
 (0)