@@ -38,7 +38,6 @@ class ServerProfileTests: XCTestCase {
38
38
XCTAssertEqual ( newProfile? . method, profile. method)
39
39
XCTAssertEqual ( newProfile? . password, profile. password)
40
40
XCTAssertEqual ( newProfile? . remark, profile. remark)
41
- XCTAssertEqual ( newProfile? . ota, profile. ota)
42
41
}
43
42
44
43
func testInitWithPlainURL( ) {
@@ -53,7 +52,6 @@ class ServerProfileTests: XCTestCase {
53
52
XCTAssertEqual ( profile? . method, " aes-256-cfb " )
54
53
XCTAssertEqual ( profile? . password, " password " )
55
54
XCTAssertEqual ( profile? . remark, " " )
56
- XCTAssertEqual ( profile? . ota, false )
57
55
}
58
56
59
57
func testInitWithPlainURLandQuery( ) {
@@ -68,7 +66,6 @@ class ServerProfileTests: XCTestCase {
68
66
XCTAssertEqual ( profile? . method, " aes-256-cfb " )
69
67
XCTAssertEqual ( profile? . password, " password " )
70
68
XCTAssertEqual ( profile? . remark, " Prism " )
71
- XCTAssertEqual ( profile? . ota, true )
72
69
}
73
70
74
71
func testInitWithPlainURLandAnotherQuery( ) {
@@ -83,7 +80,6 @@ class ServerProfileTests: XCTestCase {
83
80
XCTAssertEqual ( profile? . method, " aes-256-cfb " )
84
81
XCTAssertEqual ( profile? . password, " password " )
85
82
XCTAssertEqual ( profile? . remark, " Prism " )
86
- XCTAssertEqual ( profile? . ota, false )
87
83
}
88
84
89
85
func testInitWithBase64EncodedURL( ) {
@@ -99,7 +95,6 @@ class ServerProfileTests: XCTestCase {
99
95
XCTAssertEqual ( profile? . method, " aes-256-cfb " )
100
96
XCTAssertEqual ( profile? . password, " password " )
101
97
XCTAssertEqual ( profile? . remark, " " )
102
- XCTAssertEqual ( profile? . ota, false )
103
98
}
104
99
105
100
func testInitWithBase64EncodedURLandQuery( ) {
@@ -115,7 +110,6 @@ class ServerProfileTests: XCTestCase {
115
110
XCTAssertEqual ( profile? . method, " aes-256-cfb " )
116
111
XCTAssertEqual ( profile? . password, " password " )
117
112
XCTAssertEqual ( profile? . remark, " Prism " )
118
- XCTAssertEqual ( profile? . ota, true )
119
113
}
120
114
121
115
func testInitWithEmptyURL( ) {
@@ -148,7 +142,6 @@ class ServerProfileTests: XCTestCase {
148
142
XCTAssertEqual ( profile? . method, " aes-256-cfb " )
149
143
XCTAssertEqual ( profile? . password, " password " )
150
144
XCTAssertEqual ( profile? . remark, " Prism " )
151
- XCTAssertEqual ( profile? . ota, true )
152
145
}
153
146
154
147
func testInitWithSIP002URLProfileName( ) {
0 commit comments