Update test

This commit is contained in:
Oliver 2023-03-16 17:34:03 +11:00
parent 034e8eacd0
commit 18c7c1d756

View File

@ -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()