Skip to content

Commit ac11cf4

Browse files
committed
[ARQ-1334] Improved logging for missing columns
1 parent 683997f commit ac11cf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

impl/src/main/java/org/jboss/arquillian/persistence/dbunit/DataSetComparator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ private List<String> extractColumnsToBeIgnored(final ITable expectedTableState,
206206

207207
if (!nonExistingColumns.isEmpty())
208208
{
209-
log.warning("Columns which are specified to be filtered out [" + Arrays.toString(nonExistingColumns.toArray())
210-
+ "] are not existing in the table.");
209+
log.warning("Columns which are specified to be filtered out " + Arrays.toString(nonExistingColumns.toArray())
210+
+ " are not existing in the table " + tableName );
211211
}
212212
return columnsToIgnore;
213213
}

int-tests/src/test/java/org/jboss/arquillian/integration/persistence/test/contentverification/MatchingDatabaseContentUsingDataSetsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void should_verify_database_content_using_custom_data_set_with_implicit_m
104104
// then
105105
assertThat(user.getPassword()).isEqualTo(expectedPassword);
106106
}
107-
107+
108108
@Test
109109
@UsingDataSet("users.yml")
110110
@ShouldMatchDataSet(value = { "expected-addresses.yml" }, orderBy = { "address.streetName" }, excludeColumns = { "id" })

0 commit comments

Comments
 (0)