mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-12905 Fix error message tested in MySQL and PostgreSQL tests
This commit is contained in:
parent
cc1ffbaaa0
commit
764b1826bb
@ -411,7 +411,7 @@ public void testStoredProcedureNullParameterHibernateWithoutEnablePassingNulls()
|
|||||||
fail("Should have thrown exception");
|
fail("Should have thrown exception");
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException e) {
|
catch (IllegalArgumentException e) {
|
||||||
assertEquals( "The parameter on the [1] position was null. You need to call ParameterRegistration#enablePassingNulls in order to pass null parameters.", e.getMessage() );
|
assertEquals( "The parameter on the [1] position was null. You need to call ParameterRegistration#enablePassingNulls(true) in order to pass null parameters.", e.getMessage() );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -405,7 +405,7 @@ public void testStoredProcedureNullParameterHibernateWithoutEnablePassingNulls()
|
|||||||
fail("Should have thrown exception");
|
fail("Should have thrown exception");
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException e) {
|
catch (IllegalArgumentException e) {
|
||||||
assertEquals( "The parameter with the [param] position was null. You need to call ParameterRegistration#enablePassingNulls in order to pass null parameters.", e.getMessage() );
|
assertEquals( "The parameter with the [param] name was null. You need to call ParameterRegistration#enablePassingNulls(true) in order to pass null parameters.", e.getMessage() );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user