aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joseph <joseph@verifiedjoseph.com> 2021-08-10 17:37:41 +0000
committerGravatar GitHub <noreply@github.com> 2021-08-10 22:37:41 +0500
commit4529e3699a5f086f8f940c648f683e95d9d50edd (patch)
treedb0c1008ea8ffd544e3e2ebcfe891676344b945b
parentf5f0b77805452918314112b3fb3fc6022c342d56 (diff)
downloadrss-bridge-4529e3699a5f086f8f940c648f683e95d9d50edd.tar.gz
rss-bridge-4529e3699a5f086f8f940c648f683e95d9d50edd.tar.zst
rss-bridge-4529e3699a5f086f8f940c648f683e95d9d50edd.zip
[BridgeImplementationTest] Allow multiple contexts to have an empty parameters array (#1954)
-rw-r--r--tests/BridgeImplementationTest.php4
1 files changed, 4 insertions, 0 deletions
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');
}