aboutsummaryrefslogtreecommitdiff
path: root/tests/BridgeImplementationTest.php
diff options
context:
space:
mode:
authorGravatar Eugene Molotov <em92@users.noreply.github.com> 2021-06-05 09:19:07 +0500
committerGravatar Eugene Molotov <em92@users.noreply.github.com> 2021-06-05 09:34:16 +0500
commitc5802196271bd56e58f5914799f3a99f2da41d55 (patch)
tree6da7f9549e26551a17f461ef0e12c5708971debc /tests/BridgeImplementationTest.php
parenta18af3952d1d487b7acd131be3431ccd188f0c3c (diff)
downloadrss-bridge-c5802196271bd56e58f5914799f3a99f2da41d55.tar.gz
rss-bridge-c5802196271bd56e58f5914799f3a99f2da41d55.tar.zst
rss-bridge-c5802196271bd56e58f5914799f3a99f2da41d55.zip
[BridgeImplementationTest] Implement feature for testing detectParameters method
Diffstat (limited to 'tests/BridgeImplementationTest.php')
-rw-r--r--tests/BridgeImplementationTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/BridgeImplementationTest.php b/tests/BridgeImplementationTest.php
index 9b74f20e..3d4d1f6c 100644
--- a/tests/BridgeImplementationTest.php
+++ b/tests/BridgeImplementationTest.php
@@ -135,6 +135,10 @@ class BridgeImplementationTest extends TestCase {
}
}
+ foreach($this->obj::TEST_DETECT_PARAMETERS as $url => $params) {
+ $this->assertEquals($this->obj->detectParameters($url), $params);
+ }
+
$this->assertTrue(true);
}