File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def test_post_error_root_view(self):
163
163
data = {'text' : 'foobar' * 100 }
164
164
request = factory .post ('/' , data , HTTP_ACCEPT = 'text/html' )
165
165
response = self .view (request ).render ()
166
- expected_error = '<span class="help-block ">Ensure this field has no more than 100 characters.</span>'
166
+ expected_error = '<span class="invalid-feedback ">Ensure this field has no more than 100 characters.</span>'
167
167
assert expected_error in response .rendered_content .decode ()
168
168
169
169
@@ -310,7 +310,7 @@ def test_put_error_instance_view(self):
310
310
data = {'text' : 'foobar' * 100 }
311
311
request = factory .put ('/' , data , HTTP_ACCEPT = 'text/html' )
312
312
response = self .view (request , pk = 1 ).render ()
313
- expected_error = '<span class="help-block ">Ensure this field has no more than 100 characters.</span>'
313
+ expected_error = '<span class="invalid-feedback ">Ensure this field has no more than 100 characters.</span>'
314
314
assert expected_error in response .rendered_content .decode ()
315
315
316
316
You can’t perform that action at this time.
0 commit comments