From 1fecfedeca064cae563ef5b2d5066bb178a76b05 Mon Sep 17 00:00:00 2001 From: az Date: Sun, 5 Feb 2023 15:58:03 +0100 Subject: [PATCH] [skip ci] correct getConfig_fails_due_to_missing_file --- .../desktop/infrastructure/K3SDesktopConfigRepositoryKtTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/K3SDesktopConfigRepositoryKtTest.kt b/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/K3SDesktopConfigRepositoryKtTest.kt index 2bae6b4..83d8618 100644 --- a/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/K3SDesktopConfigRepositoryKtTest.kt +++ b/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/K3SDesktopConfigRepositoryKtTest.kt @@ -40,7 +40,7 @@ internal class K3SDesktopConfigRepositoryKtTest { @Test fun getConfig_fails_due_to_missing_file() { val exception = assertThrows { - getK3sConfig(ConfigFileName("src/test/resources/Idonotexist.yaml")) + getConfig("src/test/resources/Idonotexist.yaml") } assertEquals(FileNotFoundException::class.java, exception.javaClass) }