Skip to content

Commit b0fe695

Browse files
committed
fix import in test
1 parent bceb6b1 commit b0fe695

File tree

1 file changed

+5
-5
lines changed
  • hibernate-core/src/test/java/org/hibernate/orm/test/stateless

1 file changed

+5
-5
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/stateless/UpsertTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import org.hibernate.testing.orm.junit.SessionFactoryScope;
1212
import org.junit.jupiter.api.Test;
1313

14-
import static org.junit.Assert.assertEquals;
14+
import static org.junit.jupiter.api.Assertions.assertEquals;
1515

1616
@SessionFactory
1717
@DomainModel(annotatedClasses = UpsertTest.Record.class)
@@ -22,15 +22,15 @@ public class UpsertTest {
2222
s.upsert(new Record(456L,"hello mars"));
2323
});
2424
scope.inStatelessTransaction(s-> {
25-
assertEquals("hello earth",s.get(Record.class,123L).message);
26-
assertEquals("hello mars",s.get(Record.class,456L).message);
25+
assertEquals("hello earth", s.get( Record.class,123L).message);
26+
assertEquals("hello mars", s.get( Record.class,456L).message);
2727
});
2828
scope.inStatelessTransaction(s-> {
2929
s.upsert(new Record(123L,"goodbye earth"));
3030
});
3131
scope.inStatelessTransaction(s-> {
32-
assertEquals("goodbye earth",s.get(Record.class,123L).message);
33-
assertEquals("hello mars",s.get(Record.class,456L).message);
32+
assertEquals("goodbye earth", s.get( Record.class,123L).message);
33+
assertEquals("hello mars", s.get( Record.class,456L).message);
3434
});
3535
}
3636
@Entity

0 commit comments

Comments
 (0)