[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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');
}