mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-14 14:49:36 +02:00
[BridgeImplementationTest] Allow multiple contexts to have an empty parameters array (#1954)
This commit is contained in:
parent
f5f0b77805
commit
4529e3699a
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ class BridgeImplementationTest extends TestCase {
|
||||||
$this->assertNotEmpty($context, 'empty context name');
|
$this->assertNotEmpty($context, 'empty context name');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($params)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($paramsSeen as $seen) {
|
foreach ($paramsSeen as $seen) {
|
||||||
$this->assertNotEquals($seen, $params, 'same set of parameters not allowed');
|
$this->assertNotEquals($seen, $params, 'same set of parameters not allowed');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue