mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +02:00
fix(reddit): url encoding (#4010)
This commit is contained in:
@@ -157,29 +157,6 @@ class BridgeImplementationTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider dataBridgesProvider
|
||||
*/
|
||||
public function testVisibleMethods($path)
|
||||
{
|
||||
$bridgeAbstractMethods = get_class_methods(BridgeAbstract::class);
|
||||
sort($bridgeAbstractMethods);
|
||||
$feedExpanderMethods = get_class_methods(FeedExpander::class);
|
||||
sort($feedExpanderMethods);
|
||||
|
||||
$this->setBridge($path);
|
||||
|
||||
$publicMethods = get_class_methods($this->bridge);
|
||||
sort($publicMethods);
|
||||
foreach ($publicMethods as $publicMethod) {
|
||||
if ($this->bridge instanceof FeedExpander) {
|
||||
$this->assertContains($publicMethod, $feedExpanderMethods);
|
||||
} else {
|
||||
$this->assertContains($publicMethod, $bridgeAbstractMethods);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider dataBridgesProvider
|
||||
*/
|
||||
|
Reference in New Issue
Block a user