Skip to content

Commit

Permalink
[WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
jongpie committed Oct 16, 2024
1 parent 2fd93a2 commit fe90513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ private class LoggerEngineDataSelector_Tests {
LoggerSObjectProxy.Network returnedNetworkProxy = LoggerEngineDataSelector.getInstance().getCachedNetworkProxy(mockNetworkProxy.Id);

System.Assert.isNotNull(returnedNetworkProxy);
System.Assert.areEqual(0, System.Limits.getQueries());
System.Assert.areEqual(1, System.Limits.getQueries(), 'Query should still be executed, even when using mock records');
LoggerEngineDataSelector.getInstance().getCachedNetworkProxy(mockNetworkProxy.Id);
System.Assert.areEqual(0, System.Limits.getQueries(), 'Query results should have been cached');
System.Assert.areEqual(1, System.Limits.getQueries(), 'Query results should have been cached');
System.Assert.areEqual(mockNetworkProxy.Id, returnedNetworkProxy.Id);
System.Assert.areEqual(mockNetworkProxy.Name, returnedNetworkProxy.Name);
System.Assert.areEqual(mockNetworkProxy.UrlPathPrefix, returnedNetworkProxy.UrlPathPrefix);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private class LoggerSObjectProxy_Tests {
return;
}
List<SObject> omniProcessRecords = System.Database.query(
'SELECT SELECT CreatedBy.Username, CreatedById, CreatedDate, Id, IsIntegrationProcedure, LastModifiedBy.Username,' +
'SELECT CreatedBy.Username, CreatedById, CreatedDate, Id, IsIntegrationProcedure, LastModifiedBy.Username,' +
' LastModifiedById, LastModifiedDate, OmniProcessType, UniqueName' +
' FROM OmniProcess LIMIT 3'
);
Expand Down

0 comments on commit fe90513

Please sign in to comment.