More unit test fix

This commit is contained in:
Oliver Walters 2021-01-22 12:22:29 +11:00
parent 03f7baf87f
commit 5c9dd93ff1

View File

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