Skip to content

Commit

Permalink
[mms] Fix AllTests.php when dealing with test cases that inherit from…
Browse files Browse the repository at this point in the history
… parent test cases.
  • Loading branch information
slusarz committed Aug 13, 2014
1 parent fad0540 commit 39b5fa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework/Test/lib/Horde/Test/AllTests.php
Expand Up @@ -104,7 +104,7 @@ public function suite()
if ($file->isFile()) {
$pathname = $file->getPathname();
if ((preg_match('/Test.php$/', $file->getFilename())) &&
(include $pathname)) {
(include_once $pathname)) {
$class = str_replace(
DIRECTORY_SEPARATOR, '_',
preg_replace("/^$baseregexp(.*)\.php/", '\\1', $pathname));
Expand Down
4 changes: 2 additions & 2 deletions framework/Test/package.xml
Expand Up @@ -27,7 +27,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [mms] Fix AllTests.php when dealing with test cases that inherit from parent test cases.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -2541,7 +2541,7 @@
<date>2014-07-01</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [mms] Fix AllTests.php when dealing with test cases that inherit from parent test cases.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 39b5fa8

Please sign in to comment.