diff options
Diffstat (limited to 'tests/BridgeImplementationTest.php')
-rw-r--r-- | tests/BridgeImplementationTest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/BridgeImplementationTest.php b/tests/BridgeImplementationTest.php index e634aacf..28d8ec1e 100644 --- a/tests/BridgeImplementationTest.php +++ b/tests/BridgeImplementationTest.php @@ -1,5 +1,4 @@ <?php -require_once __DIR__ . '/../lib/rssbridge.php'; use PHPUnit\Framework\TestCase; @@ -52,7 +51,9 @@ class BridgeImplementationTest extends TestCase { $this->setBridge($path); $multiMinimum = 2; - if (isset($this->obj::PARAMETERS['global'])) ++$multiMinimum; + if (isset($this->obj::PARAMETERS['global'])) { + ++$multiMinimum; + } $multiContexts = (count($this->obj::PARAMETERS) >= $multiMinimum); $paramsSeen = array(); @@ -202,8 +203,6 @@ class BridgeImplementationTest extends TestCase { $this->checkUrl($this->obj->getURI()); } - //////////////////////////////////////////////////////////////////////////// - public function dataBridgesProvider() { $bridges = array(); foreach (glob(PATH_LIB_BRIDGES . '*.php') as $path) { |