From a7384713e04208a2e8154c7d19fe75e041fce0b1 Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Tue, 19 Nov 2024 07:39:34 -0500 Subject: [PATCH] Update duplicate Datasource test with new exception message Signed-off-by: Glenn Renfro --- .../cloud/task/SimpleTaskAutoConfigurationTests.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java b/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java index ea39eb85d..f580e2b56 100644 --- a/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java +++ b/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java @@ -157,8 +157,8 @@ public void testMultipleConfigurers() { SimpleTaskAutoConfiguration.class, SingleTaskConfiguration.class)) .withUserConfiguration(MultipleConfigurers.class); - verifyExceptionThrownDefaultExecutable(BeanCreationException.class, - "Error creating bean " + "with name 'simpleTaskAutoConfiguration': Invocation of init method failed", + verifyExceptionThrownDefaultExecutable(BeanCreationException.class, "Error creating bean " + + "with name 'org.springframework.cloud.task.configuration.SimpleTaskAutoConfiguration': Invocation of init method failed", applicationContextRunner); } @@ -169,8 +169,8 @@ public void testMultipleDataSources() { SimpleTaskAutoConfiguration.class, SingleTaskConfiguration.class)) .withUserConfiguration(MultipleDataSources.class); - verifyExceptionThrownDefaultExecutable(BeanCreationException.class, - "Error creating bean " + "with name 'simpleTaskAutoConfiguration': Invocation of init method failed", + verifyExceptionThrownDefaultExecutable(BeanCreationException.class, "Error creating bean " + + "with name 'org.springframework.cloud.task.configuration.SimpleTaskAutoConfiguration': Invocation of init method failed", applicationContextRunner); }