From 7a3230a2602500416c80123c637e21d5214a15e2 Mon Sep 17 00:00:00 2001
From: Feanil Patel <feanil@edx.org>
Date: Mon, 19 Aug 2019 11:04:22 -0400
Subject: [PATCH] Fix another discussions test.

---
 lms/djangoapps/discussion/rest_api/tests/test_views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lms/djangoapps/discussion/rest_api/tests/test_views.py b/lms/djangoapps/discussion/rest_api/tests/test_views.py
index 673f08ca7f6..348d95ea32c 100644
--- a/lms/djangoapps/discussion/rest_api/tests/test_views.py
+++ b/lms/djangoapps/discussion/rest_api/tests/test_views.py
@@ -2041,7 +2041,7 @@ class CourseDiscussionSettingsAPIViewTest(APITestCase, UrlResetMixin, ModuleStor
     def test_empty_body_patch_request(self):
         """Test the response status code on sending a PATCH request with an empty body or missing fields."""
         self._login_as_staff()
-        response = self.patch_request(b"")
+        response = self.patch_request("")
         self.assertEqual(response.status_code, 400)
 
         response = self.patch_request({})
-- 
GitLab