This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit cfe21901 authored by Michael Breu's avatar Michael Breu
Browse files

Fixing type of namespace to text

parent ea4f90b4
2 merge requests!231New Deployment into production and update gitlab,!225Resolve "Collections mehr hervorheben"
......@@ -233,14 +233,10 @@ public class GitlabEventServiceIT {
final long countAfter = elasticSearchRepository.countByProjectId(projectId);
assertEquals("Project " + projectId + " should be reindexed (May be a race condition)", countBefore, countAfter);
final List<String> idsByNamespacePrefix = elasticSearchRepository.getIdsByNamespacePrefix(
collectionCommitEvent.getProject().getNamespace()
);
final String namespace = collectionCommitEvent.getProject().getNamespace();
final List<String> idsByNamespacePrefix = elasticSearchRepository.getIdsByNamespacePrefix(namespace);
assertTrue(
"Namespace " + collectionCommitEvent.getProject().getNamespace() + " should contain at least all project ids",
countAfter <= idsByNamespacePrefix.size()
);
assertTrue("Namespace " + namespace + " should contain at least all project ids", countAfter <= idsByNamespacePrefix.size());
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment