From b75bcf5338aa8cdbcf6ad7a012c5d2f0d024036c Mon Sep 17 00:00:00 2001
From: ansgarz <ansgar.zwick@meissa.de>
Date: Mon, 30 Dec 2024 22:15:21 +0100
Subject: [PATCH] fix ScheduledJobsKtTest.kt

---
 .../ubuntu/scheduledjobs/domain/ScheduledJobsKtTest.kt      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/scheduledjobs/domain/ScheduledJobsKtTest.kt b/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/scheduledjobs/domain/ScheduledJobsKtTest.kt
index 896a369..cae9041 100644
--- a/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/scheduledjobs/domain/ScheduledJobsKtTest.kt
+++ b/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/scheduledjobs/domain/ScheduledJobsKtTest.kt
@@ -4,12 +4,12 @@ import org.domaindrivenarchitecture.provs.framework.ubuntu.filesystem.base.check
 import org.domaindrivenarchitecture.provs.framework.ubuntu.filesystem.base.createFile
 import org.domaindrivenarchitecture.provs.framework.ubuntu.filesystem.base.fileContent
 import org.domaindrivenarchitecture.provs.test.defaultTestContainer
+import org.domaindrivenarchitecture.provs.test.tags.ContainerTest
 import org.junit.jupiter.api.Assertions.*
-import org.junit.jupiter.api.Test
 
 class ScheduledJobsKtTest {
 
-    @Test
+    @ContainerTest
     fun tests_scheduleMonthlyReboot() {
         // given
         val prov = defaultTestContainer()
@@ -29,6 +29,6 @@ class ScheduledJobsKtTest {
         val fqFilename = "/etc/cron.d/50_monthly_reboot"
         assertTrue(prov.checkFile(fqFilename), "")
         val actualFileContent = prov.fileContent(fqFilename, sudo = true)
-        assertEquals("0 2 1-7 * 2 root /sbin/shutdown -r now\n", actualFileContent)
+        assertEquals("0 2 */100,1-7 * TUE root /sbin/shutdown -r now\n", actualFileContent)
     }
 }
\ No newline at end of file