From 26fe264e06c9e6f3ce14be2735de11d8c15f0792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Mon, 20 Jan 2025 19:16:48 +0100 Subject: [PATCH] #903: fix test to avoid modification in src/test/resources causing other tests to turn red as side effect (#955) --- .../devonfw/tools/ide/commandlet/EditionGetCommandletTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/test/java/com/devonfw/tools/ide/commandlet/EditionGetCommandletTest.java b/cli/src/test/java/com/devonfw/tools/ide/commandlet/EditionGetCommandletTest.java index 91961beae..2de7aec16 100644 --- a/cli/src/test/java/com/devonfw/tools/ide/commandlet/EditionGetCommandletTest.java +++ b/cli/src/test/java/com/devonfw/tools/ide/commandlet/EditionGetCommandletTest.java @@ -39,7 +39,7 @@ public void testEditionGetCommandletRunWithoutFlagsAndNotInstalled() { // arrange String tool = "az"; - IdeTestContext context = newContext(PROJECT, null, false); + IdeTestContext context = newContext(PROJECT, null, true); mockInstallTool(context, tool); EditionGetCommandlet editionGet = context.getCommandletManager().getCommandlet(EditionGetCommandlet.class); editionGet.tool.setValueAsString(tool, context);