Skip to content

Commit

Permalink
Refactor to use Micronaut application context
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenix-Starlight authored May 10, 2024
1 parent e1ebedf commit 0b0e305
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ void testEnableMicronaut() {
assertEquals(3, fooBeanList.size());
assertTrue(context.isRunning());
assertFalse(
Arrays.stream(context.getBeanDefinitionNames())
.map(context::getType)
.anyMatch(Objects::isNull)
context.getBeanDefinitions()
.stream()
.map(bean -> bean.getBeanType())
.anyMatch(Objects::isNull)
);
}
}
Expand Down

0 comments on commit 0b0e305

Please sign in to comment.