This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.5.x-fixes by this push:
     new cc6ea9463c Fix CachedStreamTestBase test cases
cc6ea9463c is described below

commit cc6ea9463cff42f445a929eaabe5cffa0cf4ca94
Author: Andriy Redko <[email protected]>
AuthorDate: Tue Oct 1 19:56:38 2024 -0400

    Fix CachedStreamTestBase test cases
---
 core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java 
b/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
index cdde133cb5..3fd64d4a69 100755
--- a/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
+++ b/core/src/test/java/org/apache/cxf/io/CachedStreamTestBase.java
@@ -240,6 +240,7 @@ public abstract class CachedStreamTestBase {
             
EasyMock.expect(b.getProperty(CachedConstants.CIPHER_TRANSFORMATION_BUS_PROP)).andReturn(null);
             Path tmpDirPath = Files.createTempDirectory("temp-dir");
             
EasyMock.expect(b.getProperty(CachedConstants.OUTPUT_DIRECTORY_BUS_PROP)).andReturn(tmpDirPath.toString());
+            
EasyMock.expect(b.getExtension(CachedOutputStreamCleaner.class)).andReturn(null).anyTimes();
 
             BusFactory.setThreadDefaultBus(b);
 

Reply via email to