From 15f50d7b1238f715ca8d1c667642136b9928d8ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Chirico=20Indreb=C3=B8?= Date: Thu, 12 Dec 2024 13:56:01 +0100 Subject: [PATCH] Skip problematic test until test setup overhauled --- backend/api.test/Client/RobotTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/api.test/Client/RobotTests.cs b/backend/api.test/Client/RobotTests.cs index c9c4e80f..0e280747 100644 --- a/backend/api.test/Client/RobotTests.cs +++ b/backend/api.test/Client/RobotTests.cs @@ -85,7 +85,9 @@ public async Task GetRobotById_ShouldReturnRobot() } - [Fact] +#pragma warning disable xUnit1004 + [Fact (Skip = "Runs inconcistently as it is tied to the database interactions of other tests")] +#pragma warning restore xUnit1004 public async Task RobotIsNotCreatedWithAreaNotInInstallation() { // Arrange - Area