mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-07 09:56:52 +01:00
Park testing knowledge files for later review
This commit is contained in:
parent
822cae1b27
commit
c4ecab140b
6 changed files with 167 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue