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:
25
25
model = objectbox .Model ()
26
26
from objectbox .model import IdUid
27
27
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 )
29
29
30
30
db_name = test_dir if len (name ) == 0 else test_dir + "/" + name
31
31
@@ -35,7 +35,7 @@ def load_empty_test_objectbox(name: str = "") -> objectbox.ObjectBox:
35
35
def load_empty_test_datetime (name : str = "" ) -> objectbox .ObjectBox :
36
36
model = objectbox .Model ()
37
37
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 ))
39
39
model .last_entity_id = IdUid (2 , 2 )
40
40
41
41
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 = ""):
32
32
33
33
@Entity (id = 2 , uid = 2 )
34
34
class 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 )
38
38
39
39
def __init__ (self , string : str = "" ):
40
40
self .str = string
You can’t perform that action at this time.
0 commit comments