Skip to content

Commit

Permalink
devonfw#759: adjusted EnvironmentCommandletTest
Browse files Browse the repository at this point in the history
Removed testThatHomeIsRequired in EnvironmentCommanletTest
  • Loading branch information
leonrohne27 committed Nov 22, 2024
1 parent 84e0250 commit 790bf65
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
}

0 comments on commit 790bf65

Please sign in to comment.