@@ -187,7 +187,7 @@ class JdbcAggregateTemplateIntegrationTests {
|
||||
entity.setName(name);
|
||||
|
||||
Manual manual = new Manual();
|
||||
manual.setContent("Accelerates to 99% of light speed. Destroys almost everything. See https://what-if.xkcd.com/1/");
|
||||
manual.setContent("Accelerates to 99% of light speed; Destroys almost everything. See https://what-if.xkcd.com/1/");
|
||||
entity.setManual(manual);
|
||||
|
||||
return entity;
|
||||
|
||||
@@ -36,7 +36,7 @@ import org.springframework.data.relational.core.sql.SqlIdentifier;
|
||||
public class CascadingDataAccessStrategyUnitTests {
|
||||
|
||||
int errorIndex = 1;
|
||||
String[] errorMessages = { "Sorry I don't support this method. Please try again later", "Still no luck" };
|
||||
String[] errorMessages = { "Sorry I don't support this method; Please try again later", "Still no luck" };
|
||||
|
||||
DataAccessStrategy alwaysFails = mock(DataAccessStrategy.class, i -> {
|
||||
errorIndex++;
|
||||
|
||||
@@ -34,8 +34,8 @@ public interface TestUtils {
|
||||
*/
|
||||
public static String createScriptName(Class<?> testClass, String databaseType) {
|
||||
|
||||
Assert.notNull(testClass, "Test class must not be null!");
|
||||
Assert.hasText(databaseType, "Database type must not be null or empty!");
|
||||
Assert.notNull(testClass, "Test class must not be null");
|
||||
Assert.hasText(databaseType, "Database type must not be null or empty");
|
||||
|
||||
String path = String.format("%s/%s-%s.sql", testClass.getPackage().getName(), testClass.getSimpleName(),
|
||||
databaseType.toLowerCase());
|
||||
|
||||
Reference in New Issue
Block a user