Commit c9b4e9ac authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed #19095 -- invalid code in multidb tests.

parent 273b96ef
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -652,7 +652,8 @@ class QueryTestCase(TestCase):

        new_bob_profile = UserProfile(flavor="spring surprise")

        charlie = User(username='charlie',email='charlie@example.com')
        # assigning a profile requires a explicit pk as the object isn't saved
        charlie = User(pk=51, username='charlie', email='charlie@example.com')
        charlie.set_unusable_password()

        # initially, no db assigned