diff options
author | 2021-08-10 17:37:41 +0000 | |
---|---|---|
committer | 2021-08-10 22:37:41 +0500 | |
commit | 4529e3699a5f086f8f940c648f683e95d9d50edd (patch) | |
tree | db0c1008ea8ffd544e3e2ebcfe891676344b945b | |
parent | f5f0b77805452918314112b3fb3fc6022c342d56 (diff) | |
download | rss-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.php | 4 |
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'); } |