mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-30 02:28:57 +03:00
LocalizedIntegerField not LocalizedIntegerValue
This commit is contained in:
@@ -203,7 +203,7 @@ class LocalizedIntegerFieldTestCase(TestCase):
|
|||||||
def func():
|
def func():
|
||||||
return output
|
return output
|
||||||
|
|
||||||
model = get_fake_model({"test": LocalizedIntegerValue(default=func)})
|
model = get_fake_model({"test": LocalizedIntegerField(default=func)})
|
||||||
obj = model.objects.create()
|
obj = model.objects.create()
|
||||||
|
|
||||||
assert obj.test["en"] == output["en"]
|
assert obj.test["en"] == output["en"]
|
||||||
|
|||||||
Reference in New Issue
Block a user