Upgrade API to 67.0 (#91)

* Upgrade API to 67.0

* Remove override due to build failure

* Fix test due to dependency changes

* Fix failing tests due to dependency changes

* New package version 0.10.0-1-api-upgrade-67 created

---------

Co-authored-by: Wim Velzeboer <wvelzeb1@its.jnj.com>
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Wim Velzeboer
2026-08-13 12:06:04 +01:00
committed by GitHub
co-authored by Wim Velzeboer github-actions
parent 415e1cb645
commit 11abb61337
105 changed files with 136 additions and 143 deletions
@@ -10,10 +10,27 @@ private class fflib_ClassicUnitOfWorkFactoryTest
@IsTest
static void testUnitOfWorkMock()
{
fflib_ApexMocks mocks = new fflib_ApexMocks();
fflib_ISObjectUnitOfWork unitOfWorkMock = new fflib_SObjectMocks.SObjectUnitOfWork(mocks);
new fflib_ClassicUnitOfWorkFactory()
.setMock(unitOfWorkMock);
.setMock(newUnitOfWorkStub());
}
private static fflib_ISObjectUnitOfWork newUnitOfWorkStub() {
return (fflib_ISObjectUnitOfWork) Test.createStub(
fflib_ISObjectUnitOfWork.class,
new UnitOfWorkStubProvider()
);
}
private class UnitOfWorkStubProvider implements System.StubProvider {
public Object handleMethodCall(
Object stubbedObject,
String stubbedMethodName,
System.Type returnType,
List<System.Type> listOfParamTypes,
List<String> listOfParamNames,
List<Object> listOfArgs
) {
return null;
}
}
}