Self hosted FLOSS fitness/workout, nutrition and weight tracker
added language filter on test for correct uri
Joshua Shelley339f7fdd8ad4
diff --git a/wger/nutrition/tests/test_sync.py b/wger/nutrition/tests/test_sync.pyindex a53f9ac30..96e94274a 100644--- a/wger/nutrition/tests/test_sync.py+++ b/wger/nutrition/tests/test_sync.py@@ -101,9 +101,9 @@ class TestSyncMethods(WgerTestCase):self.assertEqual(ingredient.code, '1234567890987654321')# Act- sync_ingredients(lambda x: x)+ sync_ingredients(lambda x: x, language_codes='en')mock_request.assert_called_with(- 'https://wger.de/api/v2/ingredient/?limit=999',+ 'https://wger.de/api/v2/ingredient/?limit=999&language=2',headers=wger_headers(),)