Merge branch 'main' into 4.0.x

This commit is contained in:
Phillip Webb
2025-06-04 15:38:10 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ public class ConnectionFactoryOptionsBuilder {
/**
* Create a new {@link ConnectionFactoryOptionsBuilder} instance.
* @param driver the driver protocol
* @param driver the driver
* @param containerPort the source container port
*/
public ConnectionFactoryOptionsBuilder(String driver, int containerPort) {

View File

@@ -45,7 +45,11 @@ class ConnectionFactoryOptionsBuilderTests {
@Test
void createWhenDriverProtocolIsNullThrowsException() {
assertThatIllegalArgumentException().isThrownBy(() -> new ConnectionFactoryOptionsBuilder(null, 123))
<<<<<<< HEAD
.withMessage("'driverProtocol' must not be null");
=======
.withMessage("Driver must not be null");
>>>>>>> 3.4.x
}
@Test