def METHOD_NAME(self):
    application = Applicatie.objects.create(label="test", client_ids=["foo"])
    JWTSecret.objects.create(identifier="foo", secret="bar")
    url = reverse("admin:authorizations_applicatie_change", args=(application.pk,))
    form = self.app.get(url).form
    form["credentials-0-DELETE"].checked = True
    form.submit().follow()
    application.refresh_from_db()
    self.assertFalse(JWTSecret.objects.exists())
    self.assertEqual(application.client_ids, [])