From 4529e3699a5f086f8f940c648f683e95d9d50edd Mon Sep 17 00:00:00 2001 From: Joseph Date: Tue, 10 Aug 2021 17:37:41 +0000 Subject: [PATCH] [BridgeImplementationTest] Allow multiple contexts to have an empty parameters array (#1954) --- tests/BridgeImplementationTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/BridgeImplementationTest.php b/tests/BridgeImplementationTest.php index 3d4d1f6c..a53336a3 100644 --- a/tests/BridgeImplementationTest.php +++ b/tests/BridgeImplementationTest.php @@ -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'); }