HHH-18610 - Fix SingleTableNativeQueryTest

This commit is contained in:
Stephen Allen 2024-09-24 16:55:36 -04:00
parent e3c64387fa
commit 0cdf1816f7
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class SingleTableNativeQueryTest extends BaseEntityManagerFunctionalTestC
assertThat(results.size(), is(1)); assertThat(results.size(), is(1));
assertThat(results.get(0)[0], instanceOf(Man.class)); assertThat(results.get(0)[0], instanceOf(Man.class));
assertThat(((Man)results.get(0)[0]).getName(), is("John")); 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")); assertThat(((Woman)results.get(0)[1]).getName(), is("Jane"));
}); });
} }