Skip to content
Snippets Groups Projects
Commit 35c4b007 authored by Kelly Zhou's avatar Kelly Zhou
Browse files

fix unit tests

parent dde98297
No related branches found
No related tags found
1 merge request!50update logging library to latest, update core common library to add client option to rediscache construction
Pipeline #37619 failed
......@@ -56,7 +56,7 @@ public class PartitionFilterTest {
partitionFilter.doFilter(httpServletRequest, httpServletResponse, filterChain);
Mockito.verify(httpServletResponse).addHeader("Access-Control-Allow-Origin", "custom-domain");
Mockito.verify(httpServletResponse).addHeader("Access-Control-Allow-Headers", "origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey");
Mockito.verify(httpServletResponse).addHeader("Access-Control-Allow-Headers", "access-control-allow-origin, origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey");
Mockito.verify(httpServletResponse).addHeader("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH");
Mockito.verify(httpServletResponse).addHeader("Access-Control-Allow-Credentials", "true");
Mockito.verify(httpServletResponse).addHeader("X-Frame-Options", "DENY");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment