mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fixed wrong format
This commit is contained in:
@@ -93,7 +93,7 @@ class APIAdminLimitsTestCase(lib_tests.ModoAPITestCase):
|
||||
data["name"] = "test5.com"
|
||||
response = self.client.post(url, data, format="json")
|
||||
self.assertEqual(response.status_code, 403)
|
||||
self.assertEqual(response.json()["error"], '"Domains: limit reached"')
|
||||
self.assertEqual(response.json()["error"], "Domains: limit reached")
|
||||
|
||||
resp = self.client.delete(
|
||||
reverse("v1:domain-detail", args=[Domain.objects.get(name="test4.com").pk])
|
||||
|
||||
Reference in New Issue
Block a user