Correction des tests

This commit is contained in:
FyloZ 2021-02-16 14:11:40 -05:00
parent f02e4179fd
commit 329b883a6a
1 changed files with 1 additions and 6 deletions

View File

@ -398,12 +398,7 @@ class EmployeeGroupServiceTest : AbstractExternalModelServiceTest<EmployeeGroup,
class EmployeeUserDetailsServiceTest {
private val employeeService: EmployeeService = mock()
private val securityConfigurationProperties = SecurityConfigurationProperties().apply {
jwtSecret = "secret"
jwtDuration = 1000L
root = SecurityConfigurationProperties.SystemUserCredentials(999L, "root")
}
private val service = spy(EmployeeUserDetailsServiceImpl(employeeService, securityConfigurationProperties))
private val service = spy(EmployeeUserDetailsServiceImpl(employeeService))
private val employee = employee(id = 0L)