Permalink
Browse files

Initial pass for PSR-0 autoloading support. Refs #4001

  • Loading branch information...
kiall committed Feb 11, 2012
1 parent 93e88bb commit 93480c14feb6f4c9da51426ce829af4c0f05a154
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -5,16 +5,16 @@
die('Please include the kohana bootstrap file (see README.markdown)');
}
-if ($file = Kohana::find_file('classes', 'unittest/tests'))
+if ($file = Kohana::find_file('classes', 'Unittest/Tests'))
{
require_once $file;
// PHPUnit requires a test suite class to be in this file,
// so we create a faux one that uses the kohana base
- Class TestSuite extends Unittest_Tests
+ class TestSuite extends Unittest_Tests
{}
}
else
{
die('Could not include the test suite');
-}
+}

2 comments on commit 93480c1

Contributor

shadowhand replied Feb 11, 2012

We may need to put some additional thought into our CamelCase conventions, as I could see someone writing eg: Testcase and wondering why it fails to load.

Contributor

kiall replied Feb 11, 2012

Agreed - right now I just wanted the minimal changes to switch, cleanup should be done in another commit once I finish the rest of the modules tomorrow.

Please sign in to comment.