mbien commented on PR #140:
URL: https://github.com/apache/roller/pull/140#issuecomment-2350866488
@snoopdave this one property is all what is needed to make the tests happy
again:
```diff
diff --git
a/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
b/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
index 828735c..7e89295 100644
---
a/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
+++
b/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
@@ -51,6 +51,9 @@
@BeforeEach
public void setUp() throws Exception {
TestUtils.setupWeblogger();
+ // allow media uploads for this test
+ Map<String, RuntimeConfigProperty> config =
WebloggerFactory.getWeblogger().getPropertiesManager().getProperties();
+ config.get("uploads.enabled").setValue("true");
}
/**
```
a failing MediaFileTest can influence other tests since some of the tear
down is in the test cases - so it looked a bit worse at first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]