Skip to content

Commit

Permalink
Blazebit#414 - MySQL test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Nov 24, 2017
1 parent 8685f94 commit 814891e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ PROPERTIES="$PROPERTIES -Duser.country=US -Duser.language=en"

if [ "$TRAVIS_REPO_SLUG" == "Blazebit/blaze-persistence" ] &&
[ "$TRAVIS_BRANCH" == "master" ] &&
[ "$TRAVIS_PULL_REQUEST" == "false" ] &&
[ "$JPAPROVIDER" == "hibernate" ] &&
[ "$RDBMS" == "h2" ]; then
exec ${MVN_BIN} -P ${JPAPROVIDER},${RDBMS},${SPRING_DATA:-spring-data-1.11.x} install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public void testRemoveReadOnlyElementFromCollection() {
Assert.assertEquals(1, positionsChangeModel.getRemovedElements().size());
update(newOrder);

restartTransaction();
LegacyOrder legacyOrder = em.find(LegacyOrder.class, newOrder.getId());
Assert.assertEquals(0, legacyOrder.getPositions().size());
}
Expand Down

0 comments on commit 814891e

Please sign in to comment.