From 790bf652ae585efc676b909193ee2c7a7871c3ba Mon Sep 17 00:00:00 2001 From: leonrohne27 Date: Fri, 22 Nov 2024 10:35:49 +0100 Subject: [PATCH] #759: adjusted EnvironmentCommandletTest Removed testThatHomeIsRequired in EnvironmentCommanletTest --- .../ide/commandlet/EnvironmentCommandletTest.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/cli/src/test/java/com/devonfw/tools/ide/commandlet/EnvironmentCommandletTest.java b/cli/src/test/java/com/devonfw/tools/ide/commandlet/EnvironmentCommandletTest.java index 0140a490d..ceef57a19 100644 --- a/cli/src/test/java/com/devonfw/tools/ide/commandlet/EnvironmentCommandletTest.java +++ b/cli/src/test/java/com/devonfw/tools/ide/commandlet/EnvironmentCommandletTest.java @@ -6,7 +6,6 @@ import com.devonfw.tools.ide.context.AbstractIdeContextTest; import com.devonfw.tools.ide.context.IdeTestContext; -import com.devonfw.tools.ide.context.IdeTestContextMock; import com.devonfw.tools.ide.log.IdeLogEntry; import com.devonfw.tools.ide.log.IdeLogLevel; import com.devonfw.tools.ide.os.SystemInfoImpl; @@ -158,16 +157,4 @@ public void testRunInfoLogging() { ); } } - - /** - * Test that {@link EnvironmentCommandlet} requires home. - */ - @Test - public void testThatHomeIsRequired() { - - // arrange - EnvironmentCommandlet env = new EnvironmentCommandlet(IdeTestContextMock.get()); - // act & assert - assertThat(env.isIdeHomeRequired()).isTrue(); - } }