1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-01 14:20:16 +02:00

[BridgeImplementationTest] Allow multiple contexts to have an empty parameters array (#1954)

This commit is contained in:
Joseph
2021-08-10 17:37:41 +00:00
committed by GitHub
parent f5f0b77805
commit 4529e3699a

View File

@@ -69,6 +69,10 @@ class BridgeImplementationTest extends TestCase {
$this->assertNotEmpty($context, 'empty context name');
}
if (empty($params)) {
continue;
}
foreach ($paramsSeen as $seen) {
$this->assertNotEquals($seen, $params, 'same set of parameters not allowed');
}