Skip to content
Snippets Groups Projects
Commit 73fbe24b authored by Alok Joshi's avatar Alok Joshi
Browse files

fix unit test

parent f3162704
Branches trusted-cache_ent
No related tags found
1 merge request!553Add cache for entitlements authorize mechanism
Pipeline #304838 passed with warnings
......@@ -35,7 +35,6 @@ import org.opengroup.osdu.notification.utils.Config;
import org.powermock.modules.junit4.PowerMockRunner;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.ArrayList;
import java.util.HashMap;
......@@ -77,7 +76,7 @@ public class AuthorizationFilterTest {
@Mock
private IPubsubRequestBodyExtractor extractor;
@Autowired
@Mock
private ICache<String, Groups> cache;
@InjectMocks
......
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