# JS unit authenticated solution

**URL:** <https://forum.servoy.com/t/js-unit-authenticated-solution/17335>\
**Category:** Classic Servoy\
**Created:** [July 11, 2013, 8:56pm UTC](https://forum.servoy.com/t/js-unit-authenticated-solution/17335 "2013-07-11T20:56:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akaash](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@akaash](https://forum.servoy.com/u/akaash)\
**Post date:** [July 11, 2013, 8:56pm UTC](https://forum.servoy.com/t/js-unit-authenticated-solution/17335/1 "2013-07-11T20:56:34Z")

</div>

Hi,

I’m trying to get jsunit testing going. I’m in somewhat of a paradox though. I’m unable to run unit tests out of the module I want to test because it says that the module is authenticated. It tells me to create another module and write in my testing stuff from there. The problem with that is that I can only see global scopes and I can’t see form methods that I might want to test. I’m wondering if anyone has found ways to work around this issue.

Thanks,  
Akaash

---

<div class="post-metadata">

**Author:** ![akaash](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@akaash](https://forum.servoy.com/u/akaash)\
**Post date:** [July 11, 2013, 9:04pm UTC](https://forum.servoy.com/t/js-unit-authenticated-solution/17335/2 "2013-07-11T21:04:57Z")

</div>

Oh yeah, by the way mustAuthenticate is unchecked and the solution type says Normal. I’m stumped.

---

<div class="post-metadata">

**Author:** ![akaash](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@akaash](https://forum.servoy.com/u/akaash)\
**Post date:** [July 11, 2013, 9:12pm UTC](https://forum.servoy.com/t/js-unit-authenticated-solution/17335/3 "2013-07-11T21:12:31Z")

</div>

Ok so I think I figured it out. We’re using the servoy framework and the login solution is svy\_login\_vw which has autherntication in it. When I switch the login solution to none I can run unit tests.
