From e64127e4a7aca62a278fcda732a0ae83b9b91b47 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Mon, 6 Sep 2010 12:41:15 +0200
Subject: [PATCH] Fix unit testing.
---
components/test/Components/Integration/ComponentsTest.php | 2 +-
components/test/Components/StoryTestCase.php | 3 +--
components/test/Components/phpunit.xml | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/components/test/Components/Integration/ComponentsTest.php b/components/test/Components/Integration/ComponentsTest.php
index 15c075272..6941070be 100644
--- a/components/test/Components/Integration/ComponentsTest.php
+++ b/components/test/Components/Integration/ComponentsTest.php
@@ -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
diff --git a/components/test/Components/StoryTestCase.php b/components/test/Components/StoryTestCase.php
index 54f5dda73..01fd6a228 100644
--- a/components/test/Components/StoryTestCase.php
+++ b/components/test/Components/StoryTestCase.php
@@ -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'
)
);
diff --git a/components/test/Components/phpunit.xml b/components/test/Components/phpunit.xml
index 502d3c9b8..30c427267 100644
--- a/components/test/Components/phpunit.xml
+++ b/components/test/Components/phpunit.xml
@@ -2,7 +2,7 @@