Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

'Function must be equal to.. in CAL Test Line' error when run tests

(0) ShareShare
ReportReport
Posted on by

Hi! When I try to run any test (also standard tests and my own) I get this error:

pastedimage1665150319293v2.png

What is problem?

  • Suggested answer
    Community member Profile Picture
    on at
    'Function must be equal to.. in CAL Test Line' error when run tests
    I experienced the same error message after upgrading from v21 to v23. 
    I rebuild the app package  by "Run without debugging" from VS Code. 
    Then the tests ran again. Hope it helps. I don't know what caused the issue.
  • Suggested answer
    James CS Profile Picture
    on at
    RE: 'Function must be equal to.. in CAL Test Line' error when run tests

    I think this is a glitch. You get this message when you first populate the tests list. if you exit and re-enter the page or similar it starts to work.

  • Suggested answer
    Amit_Sharma Profile Picture
    on at
    RE: 'Function must be equal to.. in CAL Test Line' error when run tests

    hi,

    Debug the error, you will get the solution.

    regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Moderator on at
    RE: 'Function must be equal to.. in CAL Test Line' error when run tests

    It is tempting, but maybe not helpful, to say that the problem is probably exactly what the error message tells you. Have you checked what function you use on the line in question and tried to change the value to blank?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans