From a7907e794ed68437830c5f152264ae0446841cef Mon Sep 17 00:00:00 2001 From: Robin Munn Date: Wed, 8 May 2024 10:08:42 +0700 Subject: [PATCH] Pass isConfidential: false in dotnet test (#792) Now that isConfidential is required in GraphQL, we need it in the dotnet test methods that create projects via GQL queries. --- backend/Testing/ApiTests/NewProjectRaceCondition.cs | 1 + backend/Testing/Services/Utils.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/backend/Testing/ApiTests/NewProjectRaceCondition.cs b/backend/Testing/ApiTests/NewProjectRaceCondition.cs index 8d4298a1e..2eed7b63b 100644 --- a/backend/Testing/ApiTests/NewProjectRaceCondition.cs +++ b/backend/Testing/ApiTests/NewProjectRaceCondition.cs @@ -40,6 +40,7 @@ private async Task CreateQueryAndVerifyProject(Guid id) type: FL_EX, id: "{{id}}", code: "{{id}}", + isConfidential: false, description: "this is just a testing project for testing a race condition", retentionPolicy: DEV }) { diff --git a/backend/Testing/Services/Utils.cs b/backend/Testing/Services/Utils.cs index 2aaa001e9..76cf059cd 100644 --- a/backend/Testing/Services/Utils.cs +++ b/backend/Testing/Services/Utils.cs @@ -43,6 +43,7 @@ await apiTester.ExecuteGql($$""" type: FL_EX, id: "{{config.Id}}", code: "{{config.Code}}", + isConfidential: false, description: "Project created by an integration test", retentionPolicy: DEV }) {