Skip to content

Commit

Permalink
One more test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesagnew committed Jan 23, 2019
1 parent e58340d commit 7a2909e
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -136,9 +136,14 @@ protected Observation sendObservation() {
@Configuration
static class MyTestCtxConfig {

@Autowired
private IInterceptorRegistry myInterceptorRegistry;

@Bean
public MyTestInterceptor interceptor() {
return new MyTestInterceptor();
MyTestInterceptor retVal = new MyTestInterceptor();
myInterceptorRegistry.registerInterceptor(retVal);
return retVal;
}

}
Expand Down

0 comments on commit 7a2909e

Please sign in to comment.