@ -2,7 +2,7 @@ import java.util.ArrayList;
public class CredentialRepository implements CredentialRepositoryInterface{
private int idCounter = 1;
private int idCounter = 0;
private ArrayList<Credential> credentials;
public CredentialRepository()
@ -36,7 +36,7 @@ class CredentialRepositoryTest {
this.credentialRepository.createNewCredential("mock", "mock");
this.credentialRepository.createNewCredential("kek", "mate");
Credential c = this.credentialRepository.getCredentialsViaId(2);
Credential c = this.credentialRepository.getCredentialsViaId(1);
Assertions.assertEquals("mate", c.getPassword());
}