fixed tests
This commit is contained in:
parent
db143e1b37
commit
b3ab47e04f
1 changed files with 3 additions and 3 deletions
|
@ -291,7 +291,7 @@ public class UseCasesIntegrationTest extends GuiIntegrationTest {
|
||||||
.getOrThrow();
|
.getOrThrow();
|
||||||
|
|
||||||
assertTrue(userNames.size() == 1);
|
assertTrue(userNames.size() == 1);
|
||||||
assertEquals("TestInstAdmin", userNames.get(0).name);
|
assertEquals("TestInstAdmin (TestInstAdmin TestInstAdmin)", userNames.get(0).name);
|
||||||
|
|
||||||
final String userId = userNames.get(0).modelId;
|
final String userId = userNames.get(0).modelId;
|
||||||
|
|
||||||
|
@ -684,7 +684,7 @@ public class UseCasesIntegrationTest extends GuiIntegrationTest {
|
||||||
|
|
||||||
final String userId = userNamesResult.get()
|
final String userId = userNamesResult.get()
|
||||||
.stream()
|
.stream()
|
||||||
.filter(userName -> "examSupport2".equals(userName.name))
|
.filter(userName -> userName.name != null && userName.name.startsWith("examSupport2"))
|
||||||
.findFirst()
|
.findFirst()
|
||||||
.map(EntityName::getModelId)
|
.map(EntityName::getModelId)
|
||||||
.orElse(null);
|
.orElse(null);
|
||||||
|
@ -1038,7 +1038,7 @@ public class UseCasesIntegrationTest extends GuiIntegrationTest {
|
||||||
.call()
|
.call()
|
||||||
.getOrThrow()
|
.getOrThrow()
|
||||||
.stream()
|
.stream()
|
||||||
.filter(userName -> "examAdmin2".equals(userName.name))
|
.filter(userName -> userName.name != null && userName.name.startsWith("examAdmin2"))
|
||||||
.map(EntityName::getModelId)
|
.map(EntityName::getModelId)
|
||||||
.findFirst()
|
.findFirst()
|
||||||
.orElse(null);
|
.orElse(null);
|
||||||
|
|
Loading…
Reference in a new issue