Fix unit testing.
authorGunnar Wrobel <p@rdus.de>
Mon, 6 Sep 2010 10:41:15 +0000 (12:41 +0200)
committerGunnar Wrobel <p@rdus.de>
Mon, 6 Sep 2010 10:46:58 +0000 (12:46 +0200)
components/test/Components/Integration/ComponentsTest.php
components/test/Components/StoryTestCase.php
components/test/Components/phpunit.xml

index 15c0752..6941070 100644 (file)
@@ -116,6 +116,6 @@ extends Components_StoryTestCase
             ->and('the PEAR package will be installed')
             ->and('the non-Horde dependencies of the Horde element will get installed from the network.')
             ->and('the Horde dependencies of the Horde element will get installed from the current tree.')
-            ->and('the Horde element will be installed');
+            ->and('the Components library will be installed');
     }
 }
\ No newline at end of file
index 54f5dda..01fd6a2 100644 (file)
@@ -202,13 +202,12 @@ extends PHPUnit_Extensions_Story_TestCase
                 )
             );
             break;
-        case 'the Horde element will be installed':
+        case 'the Components library will be installed':
             $this->assertTrue(
                 file_exists(
                     $this->_temp_dir . DIRECTORY_SEPARATOR
                     . 'pear' . DIRECTORY_SEPARATOR 
                     . 'php' . DIRECTORY_SEPARATOR
-                    . 'Horde' . DIRECTORY_SEPARATOR
                     . 'Components.php'
                 )
             );
index 502d3c9..30c4272 100644 (file)
@@ -2,7 +2,7 @@
 <phpunit>
   <filter>
     <whitelist>
-      <directory suffix=".php">../../../lib</directory>
+      <directory suffix=".php">../../lib</directory>
     </whitelist>
   </filter>
 </phpunit>