Skip to content

Commit 10b94a5

Browse files
Merge pull request #45 from apex-enterprise-patterns/ImJohnMDaniel-patch-1
Minor fix
2 parents 38bc9a9 + 6025f3b commit 10b94a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sfdx-source/apex-common-samplecode/test/classes/service/AccountsServiceTest.cls

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ private class AccountsServiceTest
3333
// GIVEN a list of account records
3434
List<Account> accounts = new List<Account>
3535
{
36-
new Account(Name = 'A', Id = fflib_IDGenerator.generate(Schema.Account.SObjectType)),
37-
new Account(Name = 'B', Id = fflib_IDGenerator.generate(Schema.Account.SObjectType)),
38-
new Account(Name = 'C', Id = fflib_IDGenerator.generate(Schema.Account.SObjectType))
36+
new Account(Name = 'A', Id = fflib_IDGenerator.generate(Schema.Account.SObjectType)),
37+
new Account(Name = 'B', Id = fflib_IDGenerator.generate(Schema.Account.SObjectType)),
38+
new Account(Name = 'C', Id = fflib_IDGenerator.generate(Schema.Account.SObjectType))
3939
};
4040

4141
Set<Id> accountIds = new Map<Id, SObject>(accounts).keySet();
4242

4343
fflib_ApexMocks mocks = new fflib_ApexMocks();
4444
fflib_ISObjectUnitOfWork unitOfWorkMock = new fflib_SObjectMocks.SObjectUnitOfWork(mocks);
45-
IAccountsSelector selectorMock = (IAccountsSelector) mocks.mock(AccountsSelector.class);
45+
IAccountsSelector selectorMock = (IAccountsSelector) mocks.mock(IAccountsSelector.class);
4646
IAccounts domainMock = (IAccounts) mocks.mock(Accounts.class);
4747

4848
mocks.startStubbing();
@@ -68,4 +68,4 @@ private class AccountsServiceTest
6868
((fflib_ISObjectUnitOfWork) mocks.verify(unitOfWorkMock)).registerDirty(accounts);
6969
((fflib_ISObjectUnitOfWork) mocks.verify(unitOfWorkMock)).commitWork();
7070
}
71-
}
71+
}

0 commit comments

Comments
 (0)