Error when using TestService.SetupTestData()


1 comment

  • Charles

    Hey Sam, I wasn't able to get this test class working either. I ultimately created my own helper class to initialize all required AccountingSeed data. I've included some rough code below; hit me up (charles AT if additional help is needed.

    After deploying the TestsUtils class below, simply use the TestsUtils.setupAccountingSeedTestData() in any of your test methods as needed.

    Github: TestsUtils.cls

    Comment actions Permalink

Please sign in to leave a comment.