From 4241e18e3527f40595fca4a94d598475b2d65125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20Porto?= Date: Fri, 2 Feb 2024 21:19:07 -0300 Subject: [PATCH] tests --- metrics/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/tests.py b/metrics/tests.py index 9e57b21..5250b0d 100644 --- a/metrics/tests.py +++ b/metrics/tests.py @@ -155,7 +155,7 @@ def test_update_metrics(self): self.client.login(username=self.username, password=self.password) area = Area.objects.create(text="Area") activity = Activity.objects.create(text="Activity", area=area) - project_1 = Project.objects.create(text="Wikimedia Community Fund") + project_1 = Project.objects.create(text="Wikimedia Community Fund", main_funding=True) metric = Metric.objects.create(text="Metric 1", activity=activity, number_of_editors=10) metric.project.add(project_1)