JAVA-13636 Minor cleanup
This commit is contained in:
parent
bf888fc637
commit
523e01a343
|
@ -58,7 +58,6 @@
|
|||
</build>
|
||||
|
||||
<properties>
|
||||
<spring-boot.version>2.6.4</spring-boot.version>
|
||||
<spring-framework.version>5.3.20</spring-framework.version>
|
||||
<!-- testing -->
|
||||
<mockito.version>4.6.1</mockito.version>
|
||||
|
|
|
@ -28,17 +28,17 @@ import com.baeldung.junit5.mockito.service.UserService;
|
|||
@ExtendWith(MockitoExtension.class)
|
||||
class UserServiceUnitTest {
|
||||
|
||||
UserService userService;
|
||||
private UserService userService;
|
||||
|
||||
SettingRepository settingRepository;
|
||||
private SettingRepository settingRepository;
|
||||
|
||||
@Mock
|
||||
UserRepository userRepository;
|
||||
private UserRepository userRepository;
|
||||
|
||||
@Mock
|
||||
MailClient mailClient;
|
||||
private MailClient mailClient;
|
||||
|
||||
User user;
|
||||
private User user;
|
||||
|
||||
@BeforeEach
|
||||
void init(@Mock SettingRepository settingRepository) {
|
||||
|
|
Loading…
Reference in New Issue