Skip to content

Commit 8985af2

Browse files
committed
Relocate Neo4jReactiveHealthIndicatorIntegrationTests
1 parent d1ae453 commit 8985af2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.neo4.health;
17+
package org.springframework.boot.neo4j.health;
1818

1919
import java.time.Duration;
2020

@@ -28,7 +28,6 @@
2828
import org.springframework.boot.health.contributor.Health;
2929
import org.springframework.boot.health.contributor.Status;
3030
import org.springframework.boot.neo4j.autoconfigure.Neo4jAutoConfiguration;
31-
import org.springframework.boot.neo4j.health.Neo4jReactiveHealthIndicator;
3231
import org.springframework.boot.test.context.SpringBootTest;
3332
import org.springframework.boot.testsupport.container.TestImage;
3433
import org.springframework.context.annotation.Configuration;
@@ -65,6 +64,7 @@ static void neo4jProperties(DynamicPropertyRegistry registry) {
6564
@Test
6665
void health() {
6766
Health health = this.healthIndicator.health(true).block(Duration.ofSeconds(20));
67+
assertThat(health).isNotNull();
6868
assertThat(health.getStatus()).isEqualTo(Status.UP);
6969
assertThat(health.getDetails()).containsEntry("edition", "community");
7070
}

0 commit comments

Comments
 (0)