fix test
This commit is contained in:
parent
7dc8d88e45
commit
118fc4ea13
3 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ internal class CliArgumentParserTest {
|
||||||
val parser = CliArgumentsParser("test")
|
val parser = CliArgumentsParser("test")
|
||||||
|
|
||||||
// when
|
// when
|
||||||
val result = parser.parseCommand(args = arrayOf("k3s", "-l"))
|
val result = parser.parseCommand(args = arrayOf("k3s", "-l", "config.yaml"))
|
||||||
|
|
||||||
// then
|
// then
|
||||||
assertTrue(result.isValid())
|
assertTrue(result.isValid())
|
||||||
|
|
|
@ -15,7 +15,7 @@ internal class ConfigRepositoryTest {
|
||||||
@Test
|
@Test
|
||||||
fun getConfig_successful() {
|
fun getConfig_successful() {
|
||||||
// when
|
// when
|
||||||
val config = getK3sConfig(ConfigFileName("src/test/resources/myK3sServerConfig.yaml"))
|
val config = getK3sConfig(ConfigFileName("src/test/resources/k3sServerConfig.yaml"))
|
||||||
|
|
||||||
// then
|
// then
|
||||||
assertEquals(K3sConfig(
|
assertEquals(K3sConfig(
|
||||||
|
|
Loading…
Reference in a new issue