Skip to content

Commit

Permalink
[type:fix] fix namespace sql error
Browse files Browse the repository at this point in the history
  • Loading branch information
moremind committed Oct 18, 2024
1 parent 72ce3bc commit 5c40332
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
package org.apache.shenyu.springboot.sync.data.apollo;

import com.ctrip.framework.apollo.ConfigService;

import org.apache.shenyu.common.config.ShenyuConfig;
import org.apache.shenyu.sync.data.api.SyncDataService;
import org.apache.shenyu.sync.data.apollo.ApolloDataService;
import org.apache.shenyu.sync.data.apollo.config.ApolloConfig;
Expand All @@ -33,6 +35,7 @@
import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Answers.CALLS_REAL_METHODS;

@ExtendWith(SpringExtension.class)
@MockBean(ConfigService.class)
Expand All @@ -50,6 +53,7 @@
"shenyu.sync.apollo.namespace=application"

})
@MockBean(name = "shenyuConfig", value = ShenyuConfig.class, answer = CALLS_REAL_METHODS)
class ApolloSyncDataConfigurationTest {

@Autowired
Expand Down

0 comments on commit 5c40332

Please sign in to comment.