TokenAuthenticationTest#tokenCreationWithPreAuth test failing repeatedly
@@ -45,7 +45,6 @@ class TokenAuthenticationTest extends AbstractRepositoryFactoryTest{
config[REPOSITORY_CONFIG_FILE] = createConfigValue("oak-base-config.json", "oak-tar-config.json")
}
- @Ignore
@Test
public void tokenCreationWithPreAuth() throws Exception {
repository = repositoryFactory.getRepository(config)
@@ -58,7 +57,6 @@ class TokenAuthenticationTest extends AbstractRepositoryFactoryTest{
MyCredential myCred = new MyCredential("admin")
Session session = repository.login(myCred)
-// assert session.getAttribute(".token")
assert myCred.getAttribute(".token")
}
