Update pre-commit from 0.3.3 to 0..3.4. (#5537)
* test branch. * Upgrade pre-commit to 0.3.4. * Reverse cosmetic change.
This commit is contained in:
parent
293cd3ef3c
commit
f5cb674345
|
@ -4,7 +4,7 @@
|
|||
|
||||
repos:
|
||||
- repo: https://github.com/ejba/pre-commit-maven
|
||||
rev: v0.3.3
|
||||
rev: v0.3.4
|
||||
hooks:
|
||||
- id: maven-spotless-apply
|
||||
stages: [pre-push]
|
||||
|
|
|
@ -77,7 +77,7 @@ public class AddColumnTest extends BaseTest {
|
|||
|
||||
@ParameterizedTest(name = "{index}: {0}")
|
||||
@MethodSource("data")
|
||||
public void testAddColumnToNonExistantTable_Failing(Supplier<TestDatabaseDetails> theTestDatabaseDetails) {
|
||||
public void testAddColumnToNonExistentTable_Failing(Supplier<TestDatabaseDetails> theTestDatabaseDetails) {
|
||||
before(theTestDatabaseDetails);
|
||||
|
||||
BaseMigrationTasks<VersionEnum> tasks = new BaseMigrationTasks<>();
|
||||
|
@ -93,7 +93,7 @@ public class AddColumnTest extends BaseTest {
|
|||
getMigrator().migrate();
|
||||
fail();
|
||||
} catch (HapiMigrationException e) {
|
||||
assertThat(e.getMessage(), startsWith("HAPI-0047: Failure executing task \"Add column foo_column on table FOO_TABLE\", aborting! Cause: ca.uhn.fhir.jpa.migrate.HapiMigrationException: HAPI-0061: Failed during task 4.0.0.2001.01: "));
|
||||
assertThat(e.getMessage(), startsWith("HAPI-0047: Failure executing task \"Add column FOO_COLUMN on table FOO_TABLE\", aborting! Cause: ca.uhn.fhir.jpa.migrate.HapiMigrationException: HAPI-0061: Failed during task 4.0.0.2001.01: "));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue