Skip to content

Commit 0696b1d

Browse files
committed
fix(json):change test class
1 parent b1f19e5 commit 0696b1d

File tree

1 file changed

+1
-0
lines changed
  • seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/org/apache/seata/spring/boot/autoconfigure/properties

1 file changed

+1
-0
lines changed

seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/test/java/org/apache/seata/spring/boot/autoconfigure/properties/SeataJsonPropertiesTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public void testSeataJsonProperties() {
4242
public void testAllowlistAppliedToManager() {
4343
SeataJsonProperties props = new SeataJsonProperties();
4444
props.setAllowlist("com.test.model.,com.test.dto.,com.test.SpecialBean");
45+
props.init();
4546

4647
// Prefix match
4748
Assertions.assertTrue(JsonAllowlistManager.getInstance().isAllowed("com.test.model.User"));

0 commit comments

Comments
 (0)