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

shushengzhou pushed a commit to branch home_apache_info
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git

commit c60136b4b269e032e81ebc932fd66d87e319e60b
Author: a-little-fool <[email protected]>
AuthorDate: Sat Jan 20 12:13:47 2024 +0800

    feature: alert tests fix
---
 .../java/org/apache/hertzbeat/alert/service/AlertDefineServiceTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/alerter/src/test/java/org/apache/hertzbeat/alert/service/AlertDefineServiceTest.java
 
b/alerter/src/test/java/org/apache/hertzbeat/alert/service/AlertDefineServiceTest.java
index acbc20dc8..2d20c8326 100644
--- 
a/alerter/src/test/java/org/apache/hertzbeat/alert/service/AlertDefineServiceTest.java
+++ 
b/alerter/src/test/java/org/apache/hertzbeat/alert/service/AlertDefineServiceTest.java
@@ -167,7 +167,7 @@ class AlertDefineServiceTest {
 
     @Test
     void getAlertDefines() {
-        Specification<AlertDefine> specification = mock(Specification.class);
+        Specification<AlertDefine> sspecification = mock(Specification.class);
         when(alertDefineDao.findAll(specification, PageRequest.of(1, 
1))).thenReturn(Page.empty());
         assertNotNull(alertDefineService.getAlertDefines(specification, 
PageRequest.of(1, 1)));
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to