Skip to content

Commit 5df3d1c

Browse files
committed
refactor: 불필요 대기 시간 제거
1 parent fea6a1c commit 5df3d1c

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

DevLog_Unit/PushNotification/Integration/DeletePushNotificationIntegrationTests.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import Foundation
1010

1111
@Suite(.serialized)
1212
struct DeletePushNotificationIntegrationTests {
13-
@Test("푸시 알림 삭제를 되돌리면 목록에 다시 보이고 이후에도 계속 보인다")
14-
func 푸시_알림_삭제를_되돌리면_목록에_다시_보이고_이후에도_계속_보인다() async throws {
13+
@Test("푸시 알림 삭제를 되돌리면 목록에 다시 보인다")
14+
func 푸시_알림_삭제를_되돌리면_목록에_다시_보인다() async throws {
1515
let authSession = try await LocalFirebaseRESTSupport.shared.anonymousSignIn()
1616
let notificationId = try await LocalFirebaseRESTSupport.shared.seedPushNotification(
1717
userId: authSession.userId
@@ -41,8 +41,6 @@ struct DeletePushNotificationIntegrationTests {
4141
return visibleNotificationIds.contains(notificationId)
4242
}
4343

44-
try await Task.sleep(for: .seconds(6))
45-
4644
let visibleNotificationIds = try await LocalFirebaseRESTSupport.shared.fetchPushNotificationIDs(
4745
userId: authSession.userId
4846
)

DevLog_Unit/WebPage/Integration/DeleteWebPageIntegrationTests.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import Foundation
1010

1111
@Suite(.serialized)
1212
struct DeleteWebPageIntegrationTests {
13-
@Test("웹페이지 삭제를 되돌리면 목록에 다시 보이고 이후에도 계속 보인다")
14-
func 웹페이지_삭제를_되돌리면_목록에_다시_보이고_이후에도_계속_보인다() async throws {
13+
@Test("웹페이지 삭제를 되돌리면 목록에 다시 보인다")
14+
func 웹페이지_삭제를_되돌리면_목록에_다시_보인다() async throws {
1515
let authSession = try await LocalFirebaseRESTSupport.shared.anonymousSignIn()
1616
let seededWebPage = try await LocalFirebaseRESTSupport.shared.seedWebPage(
1717
userId: authSession.userId
@@ -41,8 +41,6 @@ struct DeleteWebPageIntegrationTests {
4141
return visibleWebPageURLs.contains(seededWebPage.urlString)
4242
}
4343

44-
try await Task.sleep(for: .seconds(6))
45-
4644
let visibleWebPageURLs = try await LocalFirebaseRESTSupport.shared.fetchWebPageURLs(
4745
userId: authSession.userId
4846
)

0 commit comments

Comments
 (0)