mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-17 06:51:15 +02:00
[TelegramBridge] Add test cases for detectParameters
This commit is contained in:
@@ -13,6 +13,11 @@ class TelegramBridge extends BridgeAbstract {
|
||||
)
|
||||
)
|
||||
);
|
||||
const TEST_DETECT_PARAMETERS = array(
|
||||
'https://t.me/s/durov' => array('username' => 'durov'),
|
||||
'https://t.me/durov' => array('username' => 'durov'),
|
||||
'http://t.me/durov' => array('username' => 'durov'),
|
||||
);
|
||||
|
||||
const CACHE_TIMEOUT = 900; // 15 mins
|
||||
|
||||
|
Reference in New Issue
Block a user