Subject: | Tests fail if RT is installed |
Hey,
I just spent some time tearing my hair out because I ran "perl Makefile.PL". Turns out it modified t/lib/RT/Extension/REST2/Test.pm and used the RT modules installed on the system (my dev box). This caused 'make test' to fail as it tried to load the system level config, and since I don't run my tests as root, it failed all over the show.
I finally decided to try editing t/lib/RT/Extension/REST2/Test.pm and point it towards my git clone of the RT code base.
That worked!
Would it be possible to have this ignore the system installed config file?
Cheers,
Andrew