diff --git a/.idea/dictionaries/project.xml b/.idea/dictionaries/project.xml
index 4fdcbdd..1c1a71c 100644
--- a/.idea/dictionaries/project.xml
+++ b/.idea/dictionaries/project.xml
@@ -3,6 +3,7 @@
anyvalue
memoizes
+ ulid
\ No newline at end of file
diff --git a/config/project-scratch-def.json b/config/project-scratch-def.json
index 96655d1..94ea4a0 100644
--- a/config/project-scratch-def.json
+++ b/config/project-scratch-def.json
@@ -1,19 +1,19 @@
{
- "orgName": "Ignoti Et Quasi Occulti",
- "description": "ApexKit",
- "edition": "Developer",
- "hasSampleData": false,
- "features": [
- "EinsteinGPTForDevelopers",
- "EnableSetPasswordInApi",
- "PlatformCache"
- ],
- "settings": {
- "lightningExperienceSettings": {
- "enableS1DesktopEnabled": true
- },
- "mobileSettings": {
- "enableS1EncryptedStoragePref2": false
- }
- }
-}
\ No newline at end of file
+ "orgName": "Ignoti Et Quasi Occulti",
+ "description": "ApexKit",
+ "edition": "Developer",
+ "hasSampleData": false,
+ "features": [
+ "EinsteinGPTForDevelopers",
+ "EnableSetPasswordInApi",
+ "PlatformCache"
+ ],
+ "settings": {
+ "lightningExperienceSettings": {
+ "enableS1DesktopEnabled": true
+ },
+ "mobileSettings": {
+ "enableS1EncryptedStoragePref2": false
+ }
+ }
+}
diff --git a/force-app/main/default/classes/ULID/tests/ULIDTests.cls b/force-app/main/default/classes/ULID/tests/ULIDTests.cls
index b8143af..026f95d 100644
--- a/force-app/main/default/classes/ULID/tests/ULIDTests.cls
+++ b/force-app/main/default/classes/ULID/tests/ULIDTests.cls
@@ -1,4 +1,4 @@
-@isTest /**
+@IsTest /**
* @description This seems like a woefully inadequate test class.
* However, the ULID class contains no branching logic to test.
* The single public method is fully tested by this class' method.
@@ -6,7 +6,7 @@
* deterministic output.
*/
class ULIDTests {
- @isTest
+ @IsTest
private static void testGenerateMethod() {
Test.startTest();
String ulid = ULID.generate();
diff --git a/force-app/main/default/classes/feature flags/tests/FeatureFlagTests.cls b/force-app/main/default/classes/feature flags/tests/FeatureFlagTests.cls
index 275b929..febfdf0 100644
--- a/force-app/main/default/classes/feature flags/tests/FeatureFlagTests.cls
+++ b/force-app/main/default/classes/feature flags/tests/FeatureFlagTests.cls
@@ -161,7 +161,10 @@ class FeatureFlagTests {
@IsTest
private static void testFeatureFoundEnabledViaCustomPermissionPositive() {
FeatureFlagDataProvider dataProvider = new FeatureFlagDataProvider();
- TestFactory.enableCustomPermission('ApexKit_Example', UserInfo.getUserId());
+ PermissionsHelper.enableCustomPermission(
+ 'ApexKit_Example',
+ UserInfo.getUserId()
+ );
dataProvider.overrideFlags(
FeatureFlagCommonTests.getTestFlag('TestFlag', false)
);
diff --git a/force-app/main/default/classes/polyfills/tests/PolyfillsTests.cls b/force-app/main/default/classes/polyfills/tests/PolyfillsTests.cls
index 4cfe9c5..8e7796c 100644
--- a/force-app/main/default/classes/polyfills/tests/PolyfillsTests.cls
+++ b/force-app/main/default/classes/polyfills/tests/PolyfillsTests.cls
@@ -1,6 +1,6 @@
-@isTest
+@IsTest
private class PolyfillsTests {
- @isTest
+ @IsTest
private static void testGetSObjectTypeFromListPositiveNoType() {
Test.startTest();
String results = Polyfills.getSObjectTypeFromListsFirstObject(
@@ -13,32 +13,28 @@ private class PolyfillsTests {
);
}
- @isTest
+ @IsTest
private static void testGenerateUUID() {
Test.startTest();
String uuid = Polyfills.generateUUID();
Test.stopTest();
- system.debug(uuid);
Assert.isTrue(uuid != null, 'expected to get a uuid back');
Assert.areEqual(5, uuid.split('-').size(), 'expected to get 5 parts back');
}
- @isTest
+ @IsTest
private static void testPluckFieldFromList() {
- List accounts = (List) TestFactory.createSobjectList(
- new Account(),
- 200
- );
+ List accounts = SObjectFactory.createSObjects(new Account(), 200);
Test.startTest();
List