mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 16:45:02 +02:00
[TelegramBridge] Add test cases for detectParameters
This commit is contained in:
parent
c580219627
commit
973e49d93e
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue