File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -340,8 +340,8 @@ public function getFilters(): array
340
340
}
341
341
return implode ("\n" , $ value );
342
342
}, ['is_safe ' => ['html ' ]]),
343
- new TwigFilter ('caseEnumKey ' , function ($ value ) {
344
- return $ this ->toPascalCase ($ value );
343
+ new TwigFilter ('caseEnumKey ' , function ($ value ) {
344
+ return $ this ->toPascalCase ($ value );
345
345
}),
346
346
];
347
347
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Foundation
4
4
import FoundationNetworking
5
5
#endif
6
6
import Appwrite
7
+ import AppwriteEnums
7
8
import AsyncHTTPClient
8
9
import NIO
9
10
@@ -114,7 +115,7 @@ class Tests: XCTestCase {
114
115
print ( error. localizedDescription)
115
116
}
116
117
117
- mock = try await general. enum ( . first)
118
+ mock = try await general. xenum ( mockType : . first)
118
119
print ( mock. result)
119
120
120
121
do {
Original file line number Diff line number Diff line change 2
2
3
3
include Appwrite
4
4
5
- client = Client . new
6
- client
7
- . add_header ( 'Origin' , 'http://localhost' )
8
- . set_self_signed ( )
5
+ client = Client . new ( )
6
+ . add_header ( 'Origin' , 'http://localhost' )
7
+ . set_self_signed ( )
9
8
10
9
foo = Foo . new ( client )
11
10
bar = Bar . new ( client )
83
82
puts e
84
83
end
85
84
86
- response = general . enum ( MockType ::FIRST )
85
+ response = general . enum ( mockType : MockType ::FIRST )
87
86
puts response . result
88
87
89
88
begin
You can’t perform that action at this time.
0 commit comments