File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def load_empty_test_objectbox(name: str = "") -> objectbox.ObjectBox:
2525 model = objectbox .Model ()
2626 from objectbox .model import IdUid
2727 model .entity (TestEntity , last_property_id = IdUid (20 , 1020 ))
28- model .last_entity_id = IdUid (1 , 1 )
28+ model .last_entity_id = IdUid (2 , 2 )
2929
3030 db_name = test_dir if len (name ) == 0 else test_dir + "/" + name
3131
@@ -35,7 +35,7 @@ def load_empty_test_objectbox(name: str = "") -> objectbox.ObjectBox:
3535def load_empty_test_datetime (name : str = "" ) -> objectbox .ObjectBox :
3636 model = objectbox .Model ()
3737 from objectbox .model import IdUid
38- model .entity (TestEntityDatetime , last_property_id = IdUid (3 , 1003 ))
38+ model .entity (TestEntityDatetime , last_property_id = IdUid (3 , 2003 ))
3939 model .last_entity_id = IdUid (2 , 2 )
4040
4141 db_name = test_dir if len (name ) == 0 else test_dir + "/" + name
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ def __init__(self, string: str = ""):
3232
3333@Entity (id = 2 , uid = 2 )
3434class TestEntityDatetime :
35- id = Id (id = 1 , uid = 1001 )
36- date = Property (datetime , type = PropertyType .date , id = 2 , uid = 1002 )
37- date_nano = Property (datetime , type = PropertyType .dateNano , id = 3 , uid = 1003 )
35+ id = Id (id = 1 , uid = 2001 )
36+ date = Property (datetime , type = PropertyType .date , id = 2 , uid = 2002 )
37+ date_nano = Property (datetime , type = PropertyType .dateNano , id = 3 , uid = 2003 )
3838
3939 def __init__ (self , string : str = "" ):
4040 self .str = string
You can’t perform that action at this time.
0 commit comments