Skip to content

Commit

Permalink
Update JavaConfigAnnotationTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam authored Nov 22, 2020
1 parent c4f0665 commit 811f42a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public void testApolloConfigChangeListenerResolveExpressionSimple() {
// no using
verify(ignoreConfig, never()).addChangeListener(any(ConfigChangeListener.class));

// strange, it invoke 2 times
// one invocation for spring value auto update and another for the @ApolloConfigChangeListener annotation
verify(applicationConfig, times(2)).addChangeListener(any(ConfigChangeListener.class));
}

Expand Down

0 comments on commit 811f42a

Please sign in to comment.