Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Coder-Desktop/Coder-DesktopTests/LoginFormTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Mocker
import SwiftUI
import Testing
import ViewInspector
@testable import VPNLib

@MainActor
@Suite(.timeLimit(.minutes(1)))
Expand Down Expand Up @@ -134,7 +135,7 @@ struct LoginTests {
username: "admin"
)
let buildInfo = BuildInfoResponse(
version: "v2.24.2"
version: "v\(Validator.minimumCoderVersion)"
)

try Mock(
Expand Down
3 changes: 1 addition & 2 deletions Coder-Desktop/VPNLib/Validate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public enum ValidationError: Error {

public class Validator {
// This version of the app has a strict version requirement.
// TODO(ethanndickson): Set to 2.25.0
public static let minimumCoderVersion = "2.24.2"
public static let minimumCoderVersion = "2.24.3"

private static let expectedIdentifier = "com.coder.cli"
// The Coder team identifier
Expand Down
2 changes: 2 additions & 0 deletions Coder-Desktop/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ targets:
- target: "Coder Desktop"
- target: CoderSDK
embed: false # Do not embed the framework.
- target: VPNLib
embed: false # Do not embed the framework.
- package: ViewInspector
- package: Mocker

Expand Down
Loading