Please enable JavaScript
Test.getStandardPricebookId() is used to get or fetch Standard Price Book Id in the Apex test class. Blog Post: https://www.infallibletechie.com/2016/09/how-to-get-standard-price-book-id-in.html