mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-18610 - Fix SingleTableNativeQueryTest
This commit is contained in:
parent
e3c64387fa
commit
0cdf1816f7
@ -82,7 +82,7 @@ public void itShouldGetWife() {
|
||||
assertThat(results.size(), is(1));
|
||||
assertThat(results.get(0)[0], instanceOf(Man.class));
|
||||
assertThat(((Man)results.get(0)[0]).getName(), is("John"));
|
||||
assertThat(results.get(0)[0], instanceOf(Woman.class));
|
||||
assertThat(results.get(0)[1], instanceOf(Woman.class));
|
||||
assertThat(((Woman)results.get(0)[1]).getName(), is("Jane"));
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user