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> </dependencies>
<properties> <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> </properties>
</project> </project>

View File

@ -19,7 +19,7 @@ public class CredentialsService {
@Autowired @Autowired
private VaultTemplate vaultTemplate; private VaultTemplate vaultTemplate;
@Autowired @Autowired
private CredentialsRepository credentialsRepository; private CredentialsRepository credentialsRepository;
@ -44,7 +44,7 @@ public class CredentialsService {
VaultResponseSupport<Credentials> response = vaultTemplate.read("credentials/myapp", Credentials.class); VaultResponseSupport<Credentials> response = vaultTemplate.read("credentials/myapp", Credentials.class);
return response.getData(); return response.getData();
} }
public Credentials saveCredentials(Credentials credentials) { public Credentials saveCredentials(Credentials credentials) {
return credentialsRepository.save(credentials); return credentialsRepository.save(credentials);

View File

@ -35,7 +35,7 @@ public class VaultIntegrationTest {
@Autowired @Autowired
private CredentialsService credentialsService; private CredentialsService credentialsService;
@MockBean @MockBean
private CredentialsRepository credentialsRepository; private CredentialsRepository credentialsRepository;
@ -77,7 +77,7 @@ public class VaultIntegrationTest {
assertEquals("username", credentials.getUsername()); assertEquals("username", credentials.getUsername());
assertEquals("password", credentials.getPassword()); assertEquals("password", credentials.getPassword());
} }
@Test @Test
@Ignore @Ignore
public void givenCredentials_whenSave_thenReturnCredentials() { public void givenCredentials_whenSave_thenReturnCredentials() {