[skip ci] correct getConfig_fails_due_to_missing_file

This commit is contained in:
az 2023-02-05 15:58:03 +01:00
parent ee1fe720f6
commit 1fecfedeca

View file

@ -40,7 +40,7 @@ internal class K3SDesktopConfigRepositoryKtTest {
@Test
fun getConfig_fails_due_to_missing_file() {
val exception = assertThrows<FileNotFoundException> {
getK3sConfig(ConfigFileName("src/test/resources/Idonotexist.yaml"))
getConfig("src/test/resources/Idonotexist.yaml")
}
assertEquals(FileNotFoundException::class.java, exception.javaClass)
}