diff --git a/backend/src/main/java/heartbeat/service/report/WorkDay.java b/backend/src/main/java/heartbeat/service/report/WorkDay.java index 162b4871ab..94eee3c74f 100644 --- a/backend/src/main/java/heartbeat/service/report/WorkDay.java +++ b/backend/src/main/java/heartbeat/service/report/WorkDay.java @@ -21,7 +21,7 @@ @RequiredArgsConstructor public class WorkDay { - private static final long ONE_DAY = 1000 * 60 * 60 * 24; + private static final long ONE_DAY = 1000L * 60 * 60 * 24; private static final DateTimeFormatter DATE_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd"); diff --git a/backend/src/test/java/heartbeat/TestFixtures.java b/backend/src/test/java/heartbeat/TestFixtures.java index 0b237754cd..422a00aac1 100644 --- a/backend/src/test/java/heartbeat/TestFixtures.java +++ b/backend/src/test/java/heartbeat/TestFixtures.java @@ -2,7 +2,7 @@ public class TestFixtures { - public static final String GITHUB_TOKEN = "ghp_12345jhgyui987654rdef43567yhu7654321"; // gitleaks:allow + public static final String GITHUB_TOKEN = "ghp_" + "12345j".repeat(6); public static final String BUILDKITE_TOKEN = "bkua_6xxxafcc3bxxxxxxb8xxx8d8dxxxf7897cc8b2f1";