def test_customer_subscriber_fk_to_subscriber_model(self):
        """
        Test to ensure customer.subscriber fk points to the configured model
        set by DJSTRIPE_SUBSCRIBER_MODEL
        """
        field = Customer._meta.get_field("subscriber")

        self.assertEqual(field.related_model, djstripe_settings.get_subscriber_model())
        self.assertNotEqual(field.related_model, settings.AUTH_USER_MODEL)

        Test to ensure customer.subscriber fk points to the configured model
        set by DJSTRIPE_SUBSCRIBER_MODEL
        
tests/test_migrations.py