From 30b9d857b2e37d96fecdf4e90775e795119229fa Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 10 Mar 2021 16:32:33 +0100 Subject: [PATCH] Cleanup. --- .../TestSuite/TestSuite.ApiTests/ContentReferencesTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/tools/TestSuite/TestSuite.ApiTests/ContentReferencesTests.cs b/backend/tools/TestSuite/TestSuite.ApiTests/ContentReferencesTests.cs index 945e07f65..49827f0ff 100644 --- a/backend/tools/TestSuite/TestSuite.ApiTests/ContentReferencesTests.cs +++ b/backend/tools/TestSuite/TestSuite.ApiTests/ContentReferencesTests.cs @@ -69,7 +69,7 @@ namespace TestSuite.ApiTests // STEP 2: Create a content with a reference. var dataB = new TestEntityWithReferencesData { References = new[] { contentA_1.Id } }; - var contentB_1 = await _.Contents.CreateAsync(dataB, true); + await _.Contents.CreateAsync(dataB, true); // STEP 3: Try to delete with referrer check. @@ -92,7 +92,7 @@ namespace TestSuite.ApiTests // STEP 2: Create a content with a reference. var dataB = new TestEntityWithReferencesData { References = new[] { contentA_1.Id } }; - var contentB_1 = await _.Contents.CreateAsync(dataB, true); + await _.Contents.CreateAsync(dataB, true); // STEP 3: Try to delete with referrer check.