1
0
mirror of https://github.com/danog/class-finder.git synced 2024-11-30 04:29:03 +01:00

CI Testing

This commit is contained in:
Hayden Pierce 2019-02-25 19:03:24 -06:00
parent 174622dd14
commit a40678dbcd

View File

@ -8,6 +8,11 @@ use HaydenPierce\ClassFinder\ClassFinder;
class PSR4NoAutoloadTest extends \PHPUnit_Framework_TestCase
{
public static function setupBeforeClass()
{
var_dump(file_get_contents(__DIR__ . '/composer.json'));
}
public function setup()
{
// Reset ClassFinder back to normal.
@ -19,6 +24,8 @@ class PSR4NoAutoloadTest extends \PHPUnit_Framework_TestCase
*/
public function testGetClassesInNamespace($namespace, $expected, $message)
{
try {
$classes = ClassFinder::getClassesInNamespace($namespace);
} catch (\Exception $e) {