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):
163163 data = {'text' : 'foobar' * 100 }
164164 request = factory .post ('/' , data , HTTP_ACCEPT = 'text/html' )
165165 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>'
167167 assert expected_error in response .rendered_content .decode ()
168168
169169
@@ -310,7 +310,7 @@ def test_put_error_instance_view(self):
310310 data = {'text' : 'foobar' * 100 }
311311 request = factory .put ('/' , data , HTTP_ACCEPT = 'text/html' )
312312 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>'
314314 assert expected_error in response .rendered_content .decode ()
315315
316316
You can’t perform that action at this time.
0 commit comments