This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 912d72508 [OPENMEETINGS-2841] attempt to fix GH CI
912d72508 is described below
commit 912d7250807a41078ec4216c6e58ac1a55194a4a
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Fri Sep 18 09:11:33 2026 +0700
[OPENMEETINGS-2841] attempt to fix GH CI
---
openmeetings-db/pom.xml | 7 +++++++
.../java/org/apache/openmeetings/db/entity/file/TestFileItem.java | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/openmeetings-db/pom.xml b/openmeetings-db/pom.xml
index 3e52e2b52..e5ef93b45 100644
--- a/openmeetings-db/pom.xml
+++ b/openmeetings-db/pom.xml
@@ -132,6 +132,13 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+
<workingDirectory>${project.build.testOutputDirectory}</workingDirectory>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git
a/openmeetings-db/src/test/java/org/apache/openmeetings/db/entity/file/TestFileItem.java
b/openmeetings-db/src/test/java/org/apache/openmeetings/db/entity/file/TestFileItem.java
index 38c5c56af..2b665569f 100644
---
a/openmeetings-db/src/test/java/org/apache/openmeetings/db/entity/file/TestFileItem.java
+++
b/openmeetings-db/src/test/java/org/apache/openmeetings/db/entity/file/TestFileItem.java
@@ -89,7 +89,7 @@ class TestFileItem {
@Override
public File answer(InvocationOnMock invocation) throws
Throwable {
return switch
(invocation.getMethod().getName()) {
- case "getUploadFilesDir" -> new
File("src/test/resources/org/apache/openmeetings/db/entity/file");
+ case "getUploadFilesDir" -> new
File("org/apache/openmeetings/db/entity/file");
case "getFileSafe" -> new
File(invocation.getArgument(0, File.class)
,
invocation.getArgument(1, String.class) + "." + invocation.getArgument(2,
String.class));
default -> null;