<div dir="ltr"><div>You need Mongo running on your machine first as the embedded Mongo used for the testsuite is ran from Maven.</div><div><br></div><div>Once you have Mongo running locally it&#39;s pretty easy, edit (but don&#39;t commit the changes):</div><div><br></div>testsuite/integration/src/test/resources/META-INF/keycloak-server.json<br><div><br></div><div>Change the providers to mongo. There are default settings for Mongo already there and should work as long as you have Mongo running locally.</div><div><br></div><div>I find it easier to just change the keycloak-server.json directly, but you can also use system properties to set the providers, but that&#39;s pretty annoying to do when your running tests from IntelliJ.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 November 2015 at 17:28, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Anybody know how to run mongo backend with integration tests within<br>
Intellij?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
<br>
<br>
_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
</font></span></blockquote></div><br></div>