def METHOD_NAME(self):
    """Test detail"""
    provider = SAMLProvider.objects.create(
        name=generate_id(),
        authorization_flow=create_test_flow(),
    )
    Application.objects.create(name=generate_id(), provider=provider, slug=generate_id())
    response = self.client.get(
        reverse("authentik_api:samlprovider-detail", kwargs={"pk": provider.pk}),
    )
    self.assertEqual(200, response.status_code)