1
0
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:
Dag
2024-03-12 23:59:10 +01:00
committed by GitHub
parent 5b80af978f
commit 4bad1c140a
3 changed files with 62 additions and 49 deletions

View File

@@ -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
*/