ok cool.<div><br></div><div> thanks, t0m.<br><br><div class="gmail_quote">On Sun, Dec 4, 2011 at 7:10 PM, Tomas Doran <span dir="ltr">&lt;<a href="mailto:bobtfish@bobtfish.net">bobtfish@bobtfish.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On 4 Dec 2011, at 04:13, Jason Galea wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hmm.. actually.. can I hand Catalyst::Test the schema I can get from Test::DBIx::Class?<br>
</blockquote>
<br></div>
I think you can just force replace the schema, with something like MyApp-&gt;model(&#39;DB&#39;)-&gt;schema($<u></u>mytestschema);<br>
<br>
Alternatively, you can setup a test config (by writing out a config file with the extra DB details in) before using Catalyst::Test (although N.B. that use Catalyst::Test will happen at compile time, so you probably need the initial setup in a BEGIN block).<br>

<br>
Cheers<br>
t0m<br>
<br>
<br>
______________________________<u></u>_________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-<u></u>bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/<u></u>catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</blockquote></div><br></div>