Skip to content

Commit

Permalink
P4ADEV-1810-fix-activity-io-notification
Browse files Browse the repository at this point in the history
  • Loading branch information
LarissaASLeite committed Dec 19, 2024
1 parent be032b9 commit 254fd26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.bean.override.mockito.MockitoBean;

@SpringBootTest(
classes = {IuvService.class},
Expand All @@ -24,7 +24,7 @@
@ExtendWith(MockitoExtension.class)
class IuvServiceTest {

@MockBean
@MockitoBean
private IuvSequenceNumberDao iuvSequenceNumberDao;

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;

import java.util.Optional;

Expand All @@ -18,7 +18,7 @@
@EnableConfigurationProperties
class OrganizationServiceTest {

@MockBean
@MockitoBean
private OrganizationDao organizationDao;

@Autowired
Expand Down

0 comments on commit 254fd26

Please sign in to comment.