From acfbdfa3a1311930f1a10c48e4ec6227a0e013b7 Mon Sep 17 00:00:00 2001 From: samgibsonmoj Date: Tue, 20 Aug 2024 09:57:20 +0100 Subject: [PATCH] Make assessment scoring functionality consistent --- .../Features/QualityAssurance/Commands/SubmitToProviderQa.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/Features/QualityAssurance/Commands/SubmitToProviderQa.cs b/src/Application/Features/QualityAssurance/Commands/SubmitToProviderQa.cs index 64b464dc..33c93d0c 100644 --- a/src/Application/Features/QualityAssurance/Commands/SubmitToProviderQa.cs +++ b/src/Application/Features/QualityAssurance/Commands/SubmitToProviderQa.cs @@ -111,7 +111,7 @@ private async Task MustHaveTwoReds(string identifier, CancellationToken ca var latest = assessments.MaxBy(a => a.Created); return latest is not null - && latest.Scores.Count(s => s.Score is > 0 and < 10) > 1; + && latest.Scores.Count(s => s.Score is >= 0 and < 10) > 1; } }