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.
2 parents a4792b3 + 38aee34 commit 1fd9b96Copy full SHA for 1fd9b96
fflib/src/classes/fflib_QueryFactoryTest.cls
@@ -503,7 +503,8 @@ private class fflib_QueryFactoryTest {
503
Schema.DescribeSObjectResult descResult = Account.SObjectType.getDescribe();
504
Exception e;
505
try {
506
- fflib_QueryFactory childQf = qf.subselectQuery(Contact.SObjectType);
+ SObjectType invalidType = null;
507
+ fflib_QueryFactory childQf = qf.subselectQuery(invalidType);
508
childQf.selectField('Id');
509
} catch (fflib_QueryFactory.InvalidSubqueryRelationshipException ex) {
510
e = ex;
@@ -843,4 +844,4 @@ private class fflib_QueryFactoryTest {
843
844
}
845
return usr;
846
-}
847
+}
0 commit comments