From 65e599ba65b7d7ccf63371ea8207c78c582d8258 Mon Sep 17 00:00:00 2001 From: Teromene Date: Tue, 30 Aug 2016 11:39:04 +0200 Subject: [PATCH] Bridges should be allowed to declare their own functions. --- tests/BridgeImplementationTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/BridgeImplementationTest.php b/tests/BridgeImplementationTest.php index 36997d21..d129e638 100644 --- a/tests/BridgeImplementationTest.php +++ b/tests/BridgeImplementationTest.php @@ -58,8 +58,6 @@ class BridgeImplementationTest extends PHPUnit_Framework_TestCase { $parent_names .= ', ' . $parent; } - // There should generally be no additional (public) function - $this->assertEmpty($methods, $bridgeName . ' extends (' . $parent_names . ') and defines additional public functions : ' . $method_names . '!'); } // Checks if the bridge returns the default value for 'getCacheDuration()' @@ -152,4 +150,4 @@ class BridgeAbstractTest extends BridgeAbstract{ public function collectData(array $params){} public function getName(){return '';} public function getURI(){return '';} -} \ No newline at end of file +}