File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
src/platform-utility/CustomMetadataDAO Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,18 @@ public class CustomMetadataDAOTest {
3636 */
3737 @IsTest
3838 static void testGetMetadata () {
39- // List<SObject> customMetadataRecords;
40- // System.Test.startTest();
41- // customMetadataRecords = new CustomMetadataDAO()
42- // .getCustomMetadataRecords(
43- // 'SELECT MasterLabel FROM API_Base_Configuration__mdt '
44- // );
45- // System.Test.stopTest();
46- // System.assertEquals(
47- // [SELECT MasterLabel FROM API_Base_Configuration__mdt ].size(),
48- // customMetadataRecords.size(),
49- // 'Size should match'
50- // );
39+ List <SObject > customMetadataRecords ;
40+ System .Test .startTest ();
41+ customMetadataRecords = new CustomMetadataDAO ()
42+ .getCustomMetadataRecords (
43+ ' SELECT MasterLabel FROM Custom_Meta_DAO_test__mdt '
44+ );
45+ System .Test .stopTest ();
46+ System .assertEquals (
47+ [SELECT MasterLabel FROM Custom_Meta_DAO_test__mdt ].size (),
48+ customMetadataRecords .size (),
49+ ' Size should match'
50+ );
5151 }
5252
5353 /**
You can’t perform that action at this time.
0 commit comments