def METHOD_NAME(self):
    """field is included in display json"""
    test_link = reverse("misago:api:user-details", kwargs={"pk": self.user.pk})
    response = self.client.get(test_link)
    self.assertEqual(
        response.json()["groups"],
        [
            {
                "name": "IP address",
                "fields": [
                    {"fieldname": "join_ip", "name": "Join IP", "text": "127.0.0.1"}
                ],
            }
        ],
    )