Просмотр исходного кода

Fixing test exceptions with CLI unit testing

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18325 44c647ce-9c0f-0410-b52a-842ac1e357ba
dragonbe 16 лет назад
Родитель
Сommit
595ebac536
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      tests/Zend/AuthTest.php

+ 10 - 0
tests/Zend/AuthTest.php

@@ -37,6 +37,16 @@ require_once 'Zend/Auth.php';
  */
 require_once 'Zend/Auth/Adapter/Interface.php';
 
+/**
+ * @see Zend_Session
+ */
+require_once 'Zend/Session.php';
+
+/**
+ * @issue ZF-7882 - temp solution provided by {@link http://www.alexatnet.com/node/12}
+ */
+Zend_Session::start();
+
 
 /**
  * @category   Zend