Service exception test update

pull/1410/head
xiaoxin 2 years ago
parent a9b262df51
commit e17a2c5871

@ -24,12 +24,10 @@ import cn.hippo4j.server.common.base.exception.ServiceException;
import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeInfo;
import org.checkerframework.checker.units.qual.A; import org.checkerframework.checker.units.qual.A;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import java.util.Objects; import java.util.Objects;
/** /**
* Service exception test * Service exception test
*
*/ */
public class ServiceExceptionTest { public class ServiceExceptionTest {
@ -99,13 +97,4 @@ public class ServiceExceptionTest {
Assert.isTrue(Objects.equals(serviceException.getErrorCode().getCode(), ErrorCodeEnum.LOGIN_TIMEOUT.getCode())); Assert.isTrue(Objects.equals(serviceException.getErrorCode().getCode(), ErrorCodeEnum.LOGIN_TIMEOUT.getCode()));
Assert.isTrue(Objects.equals(serviceException.getMessage(), message)); Assert.isTrue(Objects.equals(serviceException.getMessage(), message));
} }
} }

Loading…
Cancel
Save