Correction des tests
This commit is contained in:
parent
f02e4179fd
commit
329b883a6a
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue