Skip to content

Commit cd4bb0a

Browse files
committed
Byttet custom metadata type
1 parent ed354ee commit cd4bb0a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/platform-utility/CustomMetadataDAO/CustomMetadataDAOTest.cls

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)