Skip to content

Commit efe4a52

Browse files
filtered dependencies from 2 other tests
1 parent 59c44b2 commit efe4a52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

legend-pure-core/legend-pure-m3-core/src/test/java/org/finos/legend/pure/m3/tests/AbstractCompiledStateIntegrityTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ public void testFunctionApplications()
11681168
MutableMap<CoreInstance, MutableSet<CoreInstance>> expected = Maps.mutable.empty();
11691169
MutableMap<CoreInstance, MutableSet<CoreInstance>> actual = Maps.mutable.empty();
11701170

1171-
GraphNodeIterable.fromModelRepository(repository).forEach(instance ->
1171+
filterDependenciesFromRepoUnderTest().forEach(instance ->
11721172
{
11731173
if (Instance.instanceOf(instance, functionClass, processorSupport))
11741174
{
@@ -1240,7 +1240,7 @@ public void testFunctionsHaveFunctionTypes()
12401240
{
12411241
CoreInstance functionClass = runtime.getCoreInstance(M3Paths.Function);
12421242
MutableList<String> errorMessages = Lists.mutable.empty();
1243-
GraphNodeIterable.fromModelRepository(repository)
1243+
filterDependenciesFromRepoUnderTest()
12441244
.select(instance -> Instance.instanceOf(instance, functionClass, processorSupport))
12451245
.forEach(instance ->
12461246
{
@@ -1408,7 +1408,7 @@ public void testSpecializations()
14081408
MutableMap<String, MutableSet<String>> expected = Maps.mutable.empty();
14091409
MutableMap<String, MutableSet<String>> actual = Maps.mutable.empty();
14101410

1411-
GraphNodeIterable.fromModelRepository(repository)
1411+
filterDependenciesFromRepoUnderTest()
14121412
.select(instance -> Instance.instanceOf(instance, typeClass, processorSupport))
14131413
.forEach(type ->
14141414
{

0 commit comments

Comments
 (0)