diff --git a/sfdx-source/apex-extensions/tests/classes/logger/fflib_LogEventStoreListenerTest.cls b/sfdx-source/apex-extensions/tests/classes/logger/fflib_LogEventStoreListenerTest.cls index 25b3b5e..5a26e3f 100644 --- a/sfdx-source/apex-extensions/tests/classes/logger/fflib_LogEventStoreListenerTest.cls +++ b/sfdx-source/apex-extensions/tests/classes/logger/fflib_LogEventStoreListenerTest.cls @@ -31,7 +31,7 @@ @IsTest 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 TEST_USER_PROFILE = 'Standard User'; @@ -51,10 +51,10 @@ private class fflib_LogEventStoreListenerTest 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 -// - @IsTest + /** + * THIS UNIT TEST IS DISABLED BY DEFAULT SINCE THERE IS NO KNOWN STANDARD USER FACTORY METHOD FOR THE TARGET ORG + */ + @IsTest static void itShouldStoreRecordOnLogEventWithUserDetails() { // GIVEN - A Log Event thrown by a specific user @@ -100,5 +100,4 @@ private class fflib_LogEventStoreListenerTest Username = 'TestUser@example.com.fflib.extensions' ); } -*/ -} +} \ No newline at end of file