Skip to content

Commit

Permalink
Start building against Reactor 2022.0.1 SNAPSHOTs
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Dec 7, 2022
1 parent ce33ec1 commit 928df41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spring-boot-project/spring-boot-dependencies/build.gradle
Expand Up @@ -1157,7 +1157,7 @@ bom {
]
}
}
library("Reactor Bom", "2022.0.0") {
library("Reactor Bom", "2022.0.1-SNAPSHOT") {
group("io.projectreactor") {
imports = [
"reactor-bom"
Expand Down
Expand Up @@ -16,8 +16,11 @@

package org.springframework.boot.test.autoconfigure.data.r2dbc;

import java.util.Map;

import io.r2dbc.spi.ConnectionFactory;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;

import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -46,7 +49,8 @@ class DataR2dbcTestIntegrationTests {

@Test
void testDatabaseClient() {
this.databaseClient.sql("SELECT * FROM example").fetch().all().as(StepVerifier::create).verifyComplete();
Flux<Map<String, Object>> all = this.databaseClient.sql("SELECT * FROM example").fetch().all();
StepVerifier.create(all).expectNextCount(1).verifyComplete();
}

@Test
Expand Down
@@ -1,2 +1,3 @@
drop table if exists example;
create table example (id int, name varchar);
insert into example VALUES (1, 'Spring Boot');

0 comments on commit 928df41

Please sign in to comment.