Skip to content

Commit

Permalink
Merge pull request #265 from patronmanager/263-typo-in-test-assertion
Browse files Browse the repository at this point in the history
Fixes #263 - test assertion using string with typo in it
  • Loading branch information
ImJohnMDaniel committed Jan 22, 2020
2 parents 8b2a6f8 + 4c91651 commit e1d19f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fflib/src/classes/fflib_SObjectDomainTest.cls
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private with sharing class fflib_SObjectDomainTest
fflib_SObjectDomain.triggerHandler(fflib_SObjectDomain.TestSObjectDomainConstructor.class);
System.assert(false, 'Expected access denied exception');
} catch (Exception e) {
System.assertEquals('Permission to udpate an Opportunity denied.', e.getMessage());
System.assertEquals('Permission to update an Opportunity denied.', e.getMessage());
}

// Test Delete object security
Expand Down

0 comments on commit e1d19f9

Please sign in to comment.