It looks like you are getting "pVVersionId" null so please set the attribute in the Page Reference in Test class to get the id in apex class. You can use this code to set the parameters in your VF page from Test class. Test.setCurrentPageReference(new PageReference('Page.YourVFPageName')); System.currentPageReference().getParameters().put('pVVersionId', value);
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
pVVersionStringId is null. Make sure that it is not null .
Thanks
It looks like you are getting "pVVersionId" null so please set the attribute in the Page Reference in Test class to get the id in apex class.
You can use this code to set the parameters in your VF page from Test class.
Test.setCurrentPageReference(new PageReference('Page.YourVFPageName'));
System.currentPageReference().getParameters().put('pVVersionId', value);
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha