File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Mocker
4
4
import SwiftUI
5
5
import Testing
6
6
import ViewInspector
7
+ @testable import VPNLib
7
8
8
9
@MainActor
9
10
@Suite ( . timeLimit( . minutes( 1 ) ) )
@@ -134,7 +135,7 @@ struct LoginTests {
134
135
username: " admin "
135
136
)
136
137
let buildInfo = BuildInfoResponse (
137
- version: " v2.24.2 "
138
+ version: " v \( Validator . minimumCoderVersion ) "
138
139
)
139
140
140
141
try Mock (
Original file line number Diff line number Diff line change @@ -40,8 +40,7 @@ public enum ValidationError: Error {
40
40
41
41
public class Validator {
42
42
// This version of the app has a strict version requirement.
43
- // TODO(ethanndickson): Set to 2.25.0
44
- public static let minimumCoderVersion = " 2.24.2 "
43
+ public static let minimumCoderVersion = " 2.25.0 "
45
44
46
45
private static let expectedIdentifier = " com.coder.cli "
47
46
// The Coder team identifier
Original file line number Diff line number Diff line change @@ -256,6 +256,8 @@ targets:
256
256
- target : " Coder Desktop"
257
257
- target : CoderSDK
258
258
embed : false # Do not embed the framework.
259
+ - target : VPNLib
260
+ embed : false # Do not embed the framework.
259
261
- package : ViewInspector
260
262
- package : Mocker
261
263
You can’t perform that action at this time.
0 commit comments