Skip to content

Commit

Permalink
fix: unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Jul 17, 2023
1 parent 96521a5 commit 8b6f8e5
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -55,6 +55,7 @@ class PluginCompositeRouterFunctionTest {
@SuppressWarnings("unchecked")
void setUp() {
var fakeContext = mock(PluginApplicationContext.class);
when(fakeContext.isActive()).thenReturn(true);
ExtensionContextRegistry.getInstance().register("fake-plugin", fakeContext);

when(rawRouterFunctionsProvider.orderedStream()).thenReturn(Stream.empty());
Expand Down

0 comments on commit 8b6f8e5

Please sign in to comment.