mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-24 07:26:53 +00:00
Bridges should be allowed to declare their own functions.
This commit is contained in:
parent
dca1b37993
commit
65e599ba65
@ -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 '';}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user