diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-20 00:49:31 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-20 00:49:31 +0400 |
commit | a1a4097ccf3d29e4df1b5be01de76d6e9ea44edd (patch) | |
tree | c466c5ca5497e321785ea317a2d041807201d949 /tests | |
parent | c01c93e41659a0c7bf1655f29442f0d59cd72ebe (diff) |
refs #5940 fix omnifixture creation was no longer possible
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Fixtures/OmniFixture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Fixtures/OmniFixture.php b/tests/PHPUnit/Fixtures/OmniFixture.php index c7b9f70826..361d242f46 100644 --- a/tests/PHPUnit/Fixtures/OmniFixture.php +++ b/tests/PHPUnit/Fixtures/OmniFixture.php @@ -43,7 +43,7 @@ class OmniFixture extends Fixture sort($classes); foreach ($classes as $className) { - if (is_subclass_of($className, 'Piwik\\Tests\\Fixture') + if (is_subclass_of($className, 'Piwik\\Tests\\Framework\\Fixture') && !is_subclass_of($className, __CLASS__) && $className != __CLASS__ && $className != "Piwik\\Tests\\Fixtures\\SqlDump" |