aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/tests
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-09-09 11:32:43 +0100
committerGravatar GitHub <[email protected]>2021-09-09 11:32:43 +0100
commitcc647b5239b5936367caf4b04f50c2cd1eb50da9 (patch)
treea47dcb86d3a2a3cb2df1449f5abf5a09098040a2 /pydis_site/apps/api/tests
parentMerge pull request #584 from python-discord/remove-port-check-as-it's-optional (diff)
parentUpdate embed description length to 4096 (diff)
Merge pull request #585 from python-discord/update_length_validation
Update embed description length to 4096
Diffstat (limited to 'pydis_site/apps/api/tests')
-rw-r--r--pydis_site/apps/api/tests/test_validators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/tests/test_validators.py b/pydis_site/apps/api/tests/test_validators.py
index 8bb7b917..551cc2aa 100644
--- a/pydis_site/apps/api/tests/test_validators.py
+++ b/pydis_site/apps/api/tests/test_validators.py
@@ -72,7 +72,7 @@ class TagEmbedValidatorTests(TestCase):
def test_rejects_too_long_description(self):
with self.assertRaises(ValidationError):
validate_embed({
- 'description': 'd' * 2049
+ 'description': 'd' * 4097
})
def test_allows_valid_embed(self):