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 104

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
    5 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
    2,547 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
    1,025 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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans