mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03: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');
|
||||
}
|
||||
|
||||
if (empty($params)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
foreach ($paramsSeen as $seen) {
|
||||
$this->assertNotEquals($seen, $params, 'same set of parameters not allowed');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue