Skip to content

Commit

Permalink
Fix DiscoveryDisabledTests.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaMaciaszek committed Aug 7, 2024
1 parent 7922c1b commit a39bbab
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015-2019 the original author or authors.
* Copyright 2015-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -31,6 +31,8 @@
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;

import static org.mockito.Mockito.mock;

/**
* @author Marcin Grzejszczak
*/
Expand All @@ -52,7 +54,7 @@ static class SomeApp {

@Bean
CuratorFramework curator() {
return null;
return mock(CuratorFramework.class);
}

}
Expand Down

0 comments on commit a39bbab

Please sign in to comment.