Skip to content

Commit

Permalink
Test | CAKK-87 | TimeZone TC 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
lcomment committed Sep 26, 2024
1 parent 45f3437 commit 392c379
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions cakk-api/src/test/java/com/cakk/api/ApplicationTest.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package com.cakk.api

import java.util.*

import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe

import org.springframework.beans.factory.annotation.Autowired
Expand All @@ -23,16 +20,4 @@ internal class ApplicationTest {
fun contextLoads() {
context shouldNotBe null
}

@TestWithDisplayName("Application 클래스는 TimeZone을 Asia/Seoul로 설정한다.")
fun timeZone() {
// Expected timezone
val expectedTimeZone = TimeZone.getTimeZone("Asia/Seoul")

// Actual timezone
val actualTimeZone = TimeZone.getDefault()

// then
actualTimeZone shouldBe expectedTimeZone
}
}

0 comments on commit 392c379

Please sign in to comment.