Remove railing whitespaces
This commit is contained in:
parent
be8bed47d3
commit
ea9470ff3c
|
@ -54,7 +54,7 @@
|
|||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<spring.vault.core.version>2.2.0.RELEASE</spring.vault.core.version>
|
||||
<spring.vault.core.version>2.3.2</spring.vault.core.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -19,7 +19,7 @@ public class CredentialsService {
|
|||
|
||||
@Autowired
|
||||
private VaultTemplate vaultTemplate;
|
||||
|
||||
|
||||
@Autowired
|
||||
private CredentialsRepository credentialsRepository;
|
||||
|
||||
|
@ -44,7 +44,7 @@ public class CredentialsService {
|
|||
VaultResponseSupport<Credentials> response = vaultTemplate.read("credentials/myapp", Credentials.class);
|
||||
return response.getData();
|
||||
}
|
||||
|
||||
|
||||
public Credentials saveCredentials(Credentials credentials) {
|
||||
|
||||
return credentialsRepository.save(credentials);
|
||||
|
|
|
@ -35,7 +35,7 @@ public class VaultIntegrationTest {
|
|||
|
||||
@Autowired
|
||||
private CredentialsService credentialsService;
|
||||
|
||||
|
||||
@MockBean
|
||||
private CredentialsRepository credentialsRepository;
|
||||
|
||||
|
@ -77,7 +77,7 @@ public class VaultIntegrationTest {
|
|||
assertEquals("username", credentials.getUsername());
|
||||
assertEquals("password", credentials.getPassword());
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void givenCredentials_whenSave_thenReturnCredentials() {
|
||||
|
|
Loading…
Reference in New Issue