bug-fix: Use Junit5 in the serverless module tests (#1794)

* #1667: Fixing the serverless tests to use Junit5 and also modifying other classes to remove the deprecated initMock() method

* #1667: Fixing the sonar code smells

Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
This commit is contained in:
Nagaraj Tantri
2021-09-29 00:09:19 +05:30
committed by GitHub
parent be59e50205
commit be25c0b433
8 changed files with 39 additions and 47 deletions

View File

@ -48,7 +48,7 @@ class ApiGatewayTest {
@BeforeEach
public void setup() {
MockitoAnnotations.initMocks(this);
MockitoAnnotations.openMocks(this);
}
/**