Make username more unique

This commit is contained in:
Wim Velzeboer
2023-10-02 12:04:04 +01:00
parent a2027017d5
commit 4310d8b4eb
@@ -88,7 +88,7 @@ private class fflib_LogEventStoreListenerTest
{ {
Profile profile = [SELECT Id FROM Profile WHERE Name = :TEST_USER_PROFILE]; Profile profile = [SELECT Id FROM Profile WHERE Name = :TEST_USER_PROFILE];
return new User( return new User(
Alias = 'jnjfflib', Alias = 'Testfflib',
Email = 'TestUser@example.com', Email = 'TestUser@example.com',
EmailEncodingKey = 'UTF-8', EmailEncodingKey = 'UTF-8',
FirstName = 'Test', FirstName = 'Test',
@@ -97,7 +97,7 @@ private class fflib_LogEventStoreListenerTest
LocaleSidKey = 'en_US', LocaleSidKey = 'en_US',
ProfileId = profile.Id, ProfileId = profile.Id,
TimeZoneSidKey = 'America/Los_Angeles', TimeZoneSidKey = 'America/Los_Angeles',
Username = 'TestUser@example.com.jnjfflib' Username = 'TestUser@example.com.fflib.extensions'
); );
} }
} }