From 5c9dd93ff1faaa883ef7353165619cc82a46280d Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 22 Jan 2021 12:22:29 +1100 Subject: [PATCH] More unit test fix --- InvenTree/stock/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/tests.py b/InvenTree/stock/tests.py index b0b05b6326..d232d3ab3d 100644 --- a/InvenTree/stock/tests.py +++ b/InvenTree/stock/tests.py @@ -122,7 +122,7 @@ class StockTest(TestCase): self.assertEqual(self.home.get_absolute_url(), '/stock/location/1/') def test_barcode(self): - barcode = self.office.format_barcode() + barcode = self.office.format_barcode(brief=False) self.assertIn('"name": "Office"', barcode)