Skip to content

Commit 50c0add

Browse files
committed
HHH-11413: Remove commit 787f0a4 by Dariush Moshiri <[email protected]>
1 parent 1a0eb70 commit 50c0add

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedQueryTest.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import static org.assertj.core.api.Assertions.assertThat;
2828
import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
2929
import static org.junit.Assert.assertEquals;
30-
import static org.junit.Assert.assertThrows;
3130

3231
/**
3332
* @author Andrea Boriero
@@ -180,18 +179,6 @@ public void testNativeQueriesFromNamedQueriesDoNotShareQuerySpaces() {
180179
} );
181180
}
182181

183-
@Test
184-
@JiraKey(value = "HHH-11413")
185-
public void testNamedNativeQueryExceptionNoResultDefined() {
186-
doInJPA( this::entityManagerFactory, entityManager -> {
187-
assertThrows(
188-
"Named query exists but its result type is not compatible",
189-
IllegalArgumentException.class,
190-
() -> entityManager.createNamedQuery( "NamedNativeQuery", Game.class )
191-
);
192-
} );
193-
}
194-
195182
@Test
196183
@JiraKey(value = "HHH-11413")
197184
public void testNamedQueryAddedFromTypedNativeQuery() {

0 commit comments

Comments
 (0)