diff --git a/experimenter/experimenter/experiments/tests/test_models.py b/experimenter/experimenter/experiments/tests/test_models.py index 91a1fb9793..5d7307007a 100644 --- a/experimenter/experimenter/experiments/tests/test_models.py +++ b/experimenter/experimenter/experiments/tests/test_models.py @@ -2367,8 +2367,10 @@ def test_get_branch_data_returns_correct_data(self): @mock_valid_outcomes def test_get_metric_data_returns_correct_data(self): - outcomes = Outcomes.all() + application = NimbusExperiment.Application.DESKTOP + outcomes = Outcomes.by_application(application) experiment = NimbusExperimentFactory.create( + application=NimbusExperiment.Application.DESKTOP, primary_outcomes=[outcomes[0].slug], ) branch_a = NimbusBranchFactory.create(