Skip to content

Commit

Permalink
Update duplicate Datasource test with new exception message
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Renfro <grenfro@vmware.com>
  • Loading branch information
cppwfs committed Nov 19, 2024
1 parent 9581c11 commit a738471
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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);

}
Expand Down

0 comments on commit a738471

Please sign in to comment.