|
|
@@ -117,6 +117,7 @@ class Zend_Application_Resource_LocaleTest extends PHPUnit_Framework_TestCase
|
|
|
{
|
|
|
$options = array(
|
|
|
'default' => 'kok_IN',
|
|
|
+ 'force' => true
|
|
|
);
|
|
|
|
|
|
$resource = new Zend_Application_Resource_Locale($options);
|
|
|
@@ -146,7 +147,7 @@ class Zend_Application_Resource_LocaleTest extends PHPUnit_Framework_TestCase
|
|
|
$resource = new Zend_Application_Resource_Locale($config);
|
|
|
$resource->init();
|
|
|
$backend = Zend_Locale::getCache()->getBackend();
|
|
|
- $this->assertType('Zend_Cache_Backend_BlackHole', $backend);
|
|
|
+ $this->assertInstanceOf('Zend_Cache_Backend_BlackHole', $backend);
|
|
|
Zend_Locale::removeCache();
|
|
|
}
|
|
|
|