Remove railing whitespaces

This commit is contained in:
Azhwani 2022-06-15 19:41:18 +02:00
parent be8bed47d3
commit ea9470ff3c
3 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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);

View File

@ -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() {