All Questions
2 questions
1
vote
1
answer
2k
views
Metadata cannot be deployed from within a test [duplicate]
When trying to insert a custom metadata record within the test it gives me the following error
@IsTest
public class Object_1TriggerTest {
@IsTest
public static void Load_field_1_from_metadata()...
1
vote
1
answer
160
views
Is there a way to get the ids of the inserted records when using Metadata.Operations.enqueueDeployment
I was going through the documentation and I saw this example
public void updateAndDeployMetadata() {
// Setup custom metadata to be created in the subscriber org.
Metadata.CustomMetadata ...