-
Notifications
You must be signed in to change notification settings - Fork 976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when deploying #49
Comments
So sorry for the late reply, not sure if you got to the bottom of the issue, but i suspect you may have an Apex class called Test in your org. This type of error is a common side effect when this is the case. In any case the fix can be made from my side to use System.Test.setMock to avoid clashing with your own Test class, though i would still recommend for future renaming this class. If this is not the cause, please let me know and we can continue to discuss. |
Fix - #49 Demo image upload to showcase cool stuff done with the API
I have now updated MetadataServiceTest to qualify its use of the Test class, if you take a new copy of this file from the repo, assuming your issue was as above, it should be solved! 👍 |
Thanks Andy, will give it a go and confirm. |
Hi Andy, I'm getting the following error when deploying to my dev org (I used your button/ heroku app):
classes/MetadataServiceTest.cls(76,9):Method does not exist or incorrect signature: Test.setMock(Type, MetadataServiceTest.WebServiceMockImpl)
The text was updated successfully, but these errors were encountered: