mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[TelegramBridge] Add test cases for detectParameters
This commit is contained in:
parent
c580219627
commit
973e49d93e
@ -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
|
const CACHE_TIMEOUT = 900; // 15 mins
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user