apex-enterprise-patterns / fflib-apex-mocks

An Apex mocking framework for true unit testing in Salesforce, with Stub API support
BSD 3-Clause "New" or "Revised" License
423 stars 214 forks source link

FFLib ApexMocks Framework deployment issue #151

Closed hariharan1235 closed 6 months ago

hariharan1235 commented 6 months ago

Hi, I tried to deploy FFLib ApexMocks Framework to my developer edition org. But It's throw some issue.

image

ISSUE:

Deployment Started Status: Queued Status: Completed Deployment Complete Failures: deploy/classes/fflib_Answer.cls(67,15):Dependent class is invalid and needs recompilation: Class fflib_InvocationOnMock : Dependent class is invalid and needs recompilation: Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test deploy/classes/fflib_AnyOrder.cls(67,15):Dependent class is invalid and needs recompilation: Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test deploy/classes/fflib_MatcherDefinitionsTest.cls(67,15):Dependent class is invalid and needs recompilation: Class fflib_MatcherDefinitions : Dependent class is invalid and needs recompilation: Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test deploy/classes/fflib_InheritorTest.cls(67,15):Dependent class is invalid and needs recompilation: Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test deploy/classes/fflib_InvocationOnMock.cls(67,15):Dependent class is invalid and needs recompilation: Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test deploy/classes/fflib_Match.cls(67,15):Dependent class is invalid and needs recompilation: Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test deploy/classes/fflib_MatchTest.cls(67,15):Dependent class is invalid and needs recompilation: Class fflib_Match : Dependent class is invalid and needs recompilation: Class fflib_ApexMocks : Method does not exist or incorrect signature: void createStub(System.Type, fflib_ApexMocks) from the type test deploy/classes/fflib_MatcherDefinitions.cls(67,15):Dependent class is invalid and needs recompilation:

stohn777 commented 6 months ago

Transferred from *commons. Attn. @hariharan1235

hariharan1235 commented 6 months ago

I created new developer edition org and I deploy. It's working.

stohn777 commented 6 months ago

Excellent to hear, @hariharan1235 . A couple of us couldn't reproduce the issue either. Best wishes!