web
You’re offline. This is a read only version of the page.
close
Skip to main content
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?

I have the same question (0)
  • 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?

  • 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
    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
    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.

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans