diff --git a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt index 10e6dc6b..d11b1d0e 100644 --- a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt +++ b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt @@ -15,8 +15,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { [Service] Type=oneshot - CPUAccounting=true - """.trimIndent() // Exercise SUT @@ -41,8 +39,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { [Service] Type=oneshot - CPUAccounting=true - """.trimIndent() // Exercise SUT @@ -68,8 +64,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { [Service] Type=oneshot ExecStart=foo - CPUAccounting=true - """.trimIndent() // Exercise SUT @@ -97,8 +91,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { Type=oneshot ExecStart=foo ExecStop=bar - CPUAccounting=true - """.trimIndent() // Exercise SUT diff --git a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt index e8c5fcde..a1d8f86c 100644 --- a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt +++ b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt @@ -284,7 +284,7 @@ class UnknownKeyInSectionInspectionTest : AbstractUnitFileTest() { // Fixture Setup val file = """ [Service] - CPUAccounting=on + CPUWeight=1 """.trimIndent() enableInspection(UnknownKeyInSectionInspection::class.java) setupFileInEditor("file.service", file) @@ -501,7 +501,7 @@ class UnknownKeyInSectionInspectionTest : AbstractUnitFileTest() { // Fixture Setup val file = """ [Slice] - CPUAccounting=true + CPUWeight=1 """.trimIndent() enableInspection(UnknownKeyInSectionInspection::class.java) setupFileInEditor("some.slice", file)