mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
Fix remaining test compilation issues
- Add attachedViaVT parameter to test initializations - Remove unnecessary nil coalescing operators for non-optional name property
This commit is contained in:
parent
609c57d0bb
commit
a5d43e8274
2 changed files with 5 additions and 3 deletions
|
|
@ -169,7 +169,7 @@ final class SessionMonitor {
|
|||
for session in ended {
|
||||
let id = session.id
|
||||
let title = "Session Completed"
|
||||
let displayName = session.name ?? session.command.joined(separator: " ")
|
||||
let displayName = session.name
|
||||
let content = UNMutableNotificationContent()
|
||||
content.title = title
|
||||
content.body = displayName
|
||||
|
|
|
|||
|
|
@ -44,7 +44,8 @@ final class SessionMonitorTests {
|
|||
source: nil,
|
||||
remoteId: nil,
|
||||
remoteName: nil,
|
||||
remoteUrl: nil
|
||||
remoteUrl: nil,
|
||||
attachedViaVT: nil
|
||||
)
|
||||
let exited = ServerSessionInfo(
|
||||
id: "one",
|
||||
|
|
@ -72,7 +73,8 @@ final class SessionMonitorTests {
|
|||
source: nil,
|
||||
remoteId: nil,
|
||||
remoteName: nil,
|
||||
remoteUrl: nil
|
||||
remoteUrl: nil,
|
||||
attachedViaVT: nil
|
||||
)
|
||||
let oldMap = ["one": running]
|
||||
let newMap = ["one": exited]
|
||||
|
|
|
|||
Loading…
Reference in a new issue