Remove physical path dependency in Kohana::module tests
commit58e842d439ce9f5447d2789885c3dce8955c53d3
authorAndrew Coulton <andrew@ingenerator.com>
Wed, 17 Sep 2014 12:11:16 +0000 (17 13:11 +0100)
committerAndrew Coulton <andrew@ingenerator.com>
Wed, 17 Sep 2014 12:28:34 +0000 (17 13:28 +0100)
tree543d5e8f3a1c238117e025e37c7cddbec791ce44
parentb8ba46bdc28072c2297ac33305ead6ad768da843
Remove physical path dependency in Kohana::module tests

Backports dd926956 to 3.3 - MODPATH is unreliable in a koharness
environment as it will usually be a symlink. With this change the test
of Kohana::modules will pass wherever the code happens to be
deployed on the disk. This will conflict when we merge up to 3.4
because that commit uses short array syntax which is not available
in the 3.3 series.
tests/kohana/CoreTest.php