Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Enhancement: Do not register StandardAutoloader during test bootstrap…
Browse files Browse the repository at this point in the history
…ping
  • Loading branch information
localheinz committed Nov 20, 2014
1 parent b55c862 commit 5b7eb8b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,7 @@ public static function getServiceManager()

protected static function initAutoloader()
{
$loader = include __DIR__ . '/init_autoloader.php';

AutoloaderFactory::factory(array(
'Zend\Loader\StandardAutoloader' => array(
'autoregister_zf' => true,
'namespaces' => array(
'ApplicationTest' => __DIR__ . '/module/Application/test/ApplicationTest',
'UserTest' => __DIR__ . '/module/User/test/UserTest',
),
),
));
include __DIR__ . '/init_autoloader.php';
}
}

Expand Down

0 comments on commit 5b7eb8b

Please sign in to comment.