diff --git a/InvenTree/report/tests.py b/InvenTree/report/tests.py index a24f141c82..b9cb8c1632 100644 --- a/InvenTree/report/tests.py +++ b/InvenTree/report/tests.py @@ -375,7 +375,7 @@ class BuildReportTest(ReportTest): self.assertEqual(headers['Content-Disposition'], 'attachment; filename="report.pdf"') # Now, set the download type to be "inline" - inline = InvenTreeUserSetting.get_setting_object('REPORT_INLINE', user=self.user) + inline = InvenTreeUserSetting.get_setting_object('REPORT_INLINE', cache=False, user=self.user) inline.value = True inline.save()