We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c5770 commit 9d09f3cCopy full SHA for 9d09f3c
Tests/Unit/QueryStateUnitTests.m
@@ -200,6 +200,15 @@ - (void)testIncludeKeys {
200
XCTAssertEqualObjects(state.includedKeys, includedKeys);
201
}
202
203
+- (void)testIncludeMultipleKeys {
204
+ PFMutableQueryState *state = [[PFMutableQueryState alloc] initWithParseClassName:@"Yarr"];
205
+ [state includeKeys:@[ @"a", @"b", @"c" ]];
206
+ [state includeKey:@"a"];
207
+
208
+ NSSet *includedKeys = PF_SET(@"a", @"b", @"c");
209
+ XCTAssertEqualObjects(state.includedKeys, includedKeys);
210
+}
211
212
- (void)testSelectKeys {
213
PFMutableQueryState *state = [[PFMutableQueryState alloc] initWithParseClassName:@"Yarr"];
214
0 commit comments