Skip to content

Commit

Permalink
update a missed test
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Jul 30, 2023
1 parent d580192 commit 55783dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/test/java/dev/morphia/test/TestVersioning.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public void testInvalidVersionUse() {

@Test
public void testManuallyIdentified() {
assertThrows(VersionMismatchException.class, () -> {
assertThrows(MongoWriteException.class, () -> {

final NamedVersion entity1 = new NamedVersion();
final NamedVersion entity2 = new NamedVersion();
Expand Down

0 comments on commit 55783dd

Please sign in to comment.