You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2022/05/26 02:59:14 UTC

[openmeetings] branch master updated: [OPENMEETINGS-2520] sonar should be more happy

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 98939973c [OPENMEETINGS-2520] sonar should be more happy
98939973c is described below

commit 98939973cc723401f20420f0df5938c50f338259
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Thu May 26 09:59:05 2022 +0700

    [OPENMEETINGS-2520] sonar should be more happy
---
 .../src/test/java/org/apache/openmeetings/cli/TestAdmin.java            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openmeetings-web/src/test/java/org/apache/openmeetings/cli/TestAdmin.java b/openmeetings-web/src/test/java/org/apache/openmeetings/cli/TestAdmin.java
index ff1ea1ff4..432f235cf 100644
--- a/openmeetings-web/src/test/java/org/apache/openmeetings/cli/TestAdmin.java
+++ b/openmeetings-web/src/test/java/org/apache/openmeetings/cli/TestAdmin.java
@@ -132,7 +132,7 @@ class TestAdmin {
 		a.process("-b");
 		//backup to file
 		File backup = Files.createTempFile("omtempbackup", null).toFile();
-		a.process("-b", backup.getCanonicalPath());
+		a.process("-b", "-file", backup.getCanonicalPath());
 		assertTrue(backup.exists(), "backup Should be created");
 		assertTrue(Files.size(backup.toPath()) > 0, "backup shouldn't be empty");
 	}