mirror of https://github.com/danoloan10/rss-bridge
[BridgeImplementationTest] Allow multiple contexts to have an empty parameters array (#1954)
This commit is contained in:
parent
f5f0b77805
commit
4529e3699a
|
@ -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…
Reference in New Issue