diff --git a/tests/test_filters.py b/tests/test_filters.py index 153c31f6..f68b7c44 100644 --- a/tests/test_filters.py +++ b/tests/test_filters.py @@ -122,7 +122,7 @@ class TestTextFilter: ('EXample_string', 'not_example_strin', False), ]) async def test_contains(self, test_string, test_text, ignore_case): - test_filter = Text(endswith=test_string, ignore_case=ignore_case) + test_filter = Text(contains=test_string, ignore_case=ignore_case) async def check(obj): result = await test_filter.check(obj)