Ver Fonte

fix fatal error when getResource() returns null

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19581 44c647ce-9c0f-0410-b52a-842ac1e357ba
bkarwin há 16 anos atrás
pai
commit
96f8933dd7
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      tests/Zend/Application/Module/BootstrapTest.php

+ 1 - 0
tests/Zend/Application/Module/BootstrapTest.php

@@ -90,6 +90,7 @@ class Zend_Application_Module_BootstrapTest extends PHPUnit_Framework_TestCase
         $bootstrap = new ZfModule_Bootstrap($this->application);
         $module = $bootstrap->getModuleName();
         $loader = $bootstrap->getResourceLoader();
+        $this->assertNotNull($loader, "resource loader is unexpectedly NULL");
         $this->assertEquals($module, $loader->getNamespace());
     }