Merge pull request #57 from wimvelzeboer/wimvelzeboer-patch-1

Update fflib_LogEventStoreListenerTest.cls
This commit is contained in:
William Velzeboer
2024-02-05 17:37:42 +00:00
committed by GitHub
@@ -31,7 +31,7 @@
@IsTest @IsTest
private class fflib_LogEventStoreListenerTest private class fflib_LogEventStoreListenerTest
{ {
/* Disable tests due to failures - Todo - fix failing tests
private static final String ERROR_MESSAGE = 'My Error Message'; private static final String ERROR_MESSAGE = 'My Error Message';
private static final String TEST_USER_PROFILE = 'Standard User'; private static final String TEST_USER_PROFILE = 'Standard User';
@@ -51,10 +51,10 @@ private class fflib_LogEventStoreListenerTest
System.Assert.areEqual(1, [SELECT COUNT() FROM fflib_LogEntry__c]); System.Assert.areEqual(1, [SELECT COUNT() FROM fflib_LogEntry__c]);
} }
/** //
* THIS UNIT TEST IS DISABLED BY DEFAULT SINCE THERE IS NO KNOWN STANDARD USER FACTORY METHOD FOR THE TARGET ORG // THIS UNIT TEST IS DISABLED BY DEFAULT SINCE THERE IS NO KNOWN STANDARD USER FACTORY METHOD FOR THE TARGET ORG
*/ //
@IsTest @IsTest
static void itShouldStoreRecordOnLogEventWithUserDetails() static void itShouldStoreRecordOnLogEventWithUserDetails()
{ {
// GIVEN - A Log Event thrown by a specific user // GIVEN - A Log Event thrown by a specific user
@@ -100,4 +100,5 @@ private class fflib_LogEventStoreListenerTest
Username = 'TestUser@example.com.fflib.extensions' Username = 'TestUser@example.com.fflib.extensions'
); );
} }
} */
}