how to send an api request from test class to main class in salesforce?
account = [SELECT Id, Name FROM Account WHERE Id = :accountId Limit 1]; The way you written it account will never be null. It’ll just throw “List has no rows …
how to send an api request from test class to main class in salesforce? Read More »