Park testing knowledge files for later review

This commit is contained in:
Jeffrey Bulanadi 2026-06-15 07:55:26 +08:00
parent 822cae1b27
commit c4ecab140b
6 changed files with 167 additions and 0 deletions

View file

@ -0,0 +1,16 @@
codeunit 50103 "Customer Permission Tests"
{
Subtype = Test;
// No TestPermissions - defaults to Disabled. All tests run as SUPER.
[Test]
procedure CustomerReadSucceeds()
var
Customer: Record Customer;
begin
// SUPER always has read access. This passes even when the real user
// calling this feature in production has no Customer read permission.
// The test never catches a permission gap. False confidence.
Customer.FindFirst();
end;
}