This commit is contained in:
禾几海
2020-07-31 21:19:10 +08:00
parent 4a2abc47cc
commit d2cf640133
2 changed files with 12 additions and 13 deletions

View File

@@ -29,6 +29,7 @@ import org.springframework.web.context.WebApplicationContext;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Map;
import java.util.UUID;
import static cn.celess.blog.enmu.ResponseEnum.SUCCESS;
@@ -64,6 +65,8 @@ public class BaseTest {
};
protected static final TypeReference<?> OBJECT_TYPE = new TypeReference<Response<String>>() {
};
protected static final TypeReference<?> MAP_OBJECT_TYPE = new TypeReference<Response<Map<String, Object>>>() {
};
@Autowired
private WebApplicationContext wac;
protected MockHttpSession session;