Skip to content

Commit 38416c9

Browse files
committed
fix tests
1 parent fa5bad0 commit 38416c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/redislabs/RGHibernateTest.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void test() {
2525

2626
Transaction transaction = session.beginTransaction();
2727
Map item1 = new HashMap();
28-
item1.put( "id", 33);
28+
item1.put( "id", "33");
2929
item1.put( "firstName", "Ron" );
3030
item1.put( "lastName", "Don" );
3131
item1.put( "email", "[email protected]" );
@@ -34,7 +34,7 @@ public void test() {
3434

3535
Transaction transaction2 = session.beginTransaction();
3636
Map item2 = new HashMap();
37-
item2.put( "id", 12);
37+
item2.put( "id", "12");
3838
item2.put( "firstName", "Danni" );
3939
item2.put( "lastName", "Din" );
4040
item2.put( "email", "[email protected]" );
@@ -48,7 +48,7 @@ public void test() {
4848

4949
Transaction transaction3 = session.beginTransaction();
5050
Map item3 = new HashMap();
51-
item3.put( "id", 51);
51+
item3.put( "id", "51");
5252
item3.put( "firstName", "John");
5353
item3.put( "lastName", "Scott");
5454
item3.put( "email", "[email protected]");
@@ -57,7 +57,7 @@ public void test() {
5757

5858
Transaction transaction4 = session.beginTransaction();
5959
Map item4 = new HashMap();
60-
item4.put( "id", 12);
60+
item4.put( "id", "12");
6161
item4.put( "firstName", "Danni");
6262
item4.put( "lastName", "Chin");
6363
item4.put( "email", "[email protected]");

0 commit comments

Comments
 (0)