diff --git a/HISTORY.rst b/HISTORY.rst index d34f839bf0..99c2ac17af 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,6 +9,7 @@ * Add an user test mixin to group user testing. * Add test the user managament app for database conversion. * Add support for natural keys to the DocumentPageImageCache model. +* Add database conversion test to the common app. 3.1.1 (2018-09-18) ================== diff --git a/mayan/apps/common/tests/test_models.py b/mayan/apps/common/tests/test_models.py new file mode 100644 index 0000000000..7ef6106649 --- /dev/null +++ b/mayan/apps/common/tests/test_models.py @@ -0,0 +1,10 @@ +from __future__ import unicode_literals + +from common.tests import BaseTestCase +from user_management.tests.mixins import UserTestMixin + + +class UserLocaleProfileTestCase(UserTestMixin, BaseTestCase): + def test_natural_keys(self): + self._create_user() + self._test_database_conversion('auth', 'common')