Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Problem with permissions in the unit tests of the advanced application in AL

(0) ShareShare
ReportReport
Posted on by
Hello, 

I have a question towards the unit tests in BC,

I have been doing the Microsoft learning pad to make the advanced application in AL for Business Central, but at the time of running the unit tests, some of these are not executed according to BC that do not have sufficient permissions to do so, I have already tried to get the permissions of the advanced application created and imported into the codeunit, but still the problem persists.
 
 
I do not know if anyone has been able to solve this, my environment is mounted on a docker, using the AL Go template from github, I have been doing the tests locally
 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    Problem with permissions in the unit tests of the advanced application in AL
    Hi, is it the case that the PTE permissions file was not generated?
    If you downloaded the On-Pre version image, it may also be a license issue.
     
    In addition, Microsoft announced a new testing way on BC Tech Days last month, you can take a look if you are interested.
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans